When replying the message is quoted automatically now, so you don't have to push that 'quote' button.

This commit is contained in:
edwin%woudt.nl 1999-02-20 21:03:09 +00:00
parent faef147169
commit e97dbf35b8
2 changed files with 14 additions and 1 deletions

View File

@ -185,6 +185,10 @@ public class Composition extends GeneralFrame {
mCompositionPanel.setSubject("Re: " + mextra.simplifiedSubject());
} catch (MessagingException e) {
}
// Quote the original text
mCompositionPanel.QuoteOriginalMessage();
}
class PanelListener implements CompositionPanelListener {

View File

@ -175,7 +175,7 @@ public class CompositionPanel extends GeneralPanel {
public void addCompositionPanelListener(CompositionPanelListener l) {
mListeners.add(CompositionPanelListener.class, l);
}
/**
* Remove a CompositionPanelListener
*/
@ -184,6 +184,15 @@ public class CompositionPanel extends GeneralPanel {
mListeners.remove(CompositionPanelListener.class, l);
}
/**
* Quote the orgininal message in a reply
*/
public void QuoteOriginalMessage() {
QuoteOriginalText qot = new QuoteOriginalText();
qot.actionPerformed(new ActionEvent(this,0,""));
}
protected void notifySendingMail() {
Object[] listeners = mListeners.getListenerList();
ChangeEvent changeEvent = null;