mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
When replying the message is quoted automatically now, so you don't have to push that 'quote' button.
This commit is contained in:
parent
faef147169
commit
e97dbf35b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user