Inline forwarding now also works a bit.

git-svn-id: svn://10.0.0.236/trunk@28024 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edwin%woudt.nl
1999-04-19 01:16:28 +00:00
parent b63cef17ff
commit 0b93cd0f82
7 changed files with 140 additions and 18 deletions

View File

@@ -41,6 +41,7 @@ import grendel.storage.MessageExtraFactory;
import grendel.widgets.Animation;
import grendel.widgets.CollapsiblePanel;
import grendel.widgets.GrendelToolBar;
import grendel.ui.FolderPanel;
import grendel.ui.GeneralFrame;
import grendel.ui.StoreFactory;
@@ -197,7 +198,7 @@ public class Composition extends GeneralFrame {
/** Initialize the headers and body of this composition
as being a message that is forwarded 'quoted'. */
public void initializeAsForward(Message msg) {
public void initializeAsForward(Message msg, int aScope) {
mCompositionPanel.setReferredMessage(msg);
MessageExtra mextra = MessageExtraFactory.Get(msg);
@@ -207,7 +208,13 @@ public class Composition extends GeneralFrame {
}
// Quote the original text
mCompositionPanel.QuoteOriginalMessage();
if (aScope == FolderPanel.kQuoted) {
mCompositionPanel.QuoteOriginalMessage();
}
if (aScope == FolderPanel.kInline) {
mCompositionPanel.InlineOriginalMessage();
}
}