When replying the message is quoted automatically now, so you don't have to push that 'quote' button.
This commit is contained in:
Родитель
4257f9225e
Коммит
fb24b01b6a
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче