Changes by Will Scullin to get context menus and message copying/moving working.

This commit is contained in:
edwin%woudt.nl 1999-04-01 22:45:36 +00:00
parent 37ad656127
commit 813798450c
2 changed files with 16 additions and 7 deletions

View File

@ -17,6 +17,8 @@
* Netscape Communications Corporation. All Rights Reserved.
*
* Created: Terry Weissman <terry@netscape.com>, 28 Aug 1997.
*
* Contributors: Will Scullin <scullin@meer.net>
*/
package grendel.storage;
@ -165,12 +167,14 @@ class BerkeleyMessage extends MessageBase {
xms = X_MOZILLA_FLAG_READ;
} else {
for (int i=0 ; i<FLAGDEFS.length ; i++) {
MessageBase mb = (MessageBase) m;
if (FLAGDEFS[i].builtin != null
? mb.isSet(FLAGDEFS[i].builtin)
: mb.isSet(FLAGDEFS[i].non_builtin)) {
xms |= FLAGDEFS[i].flag;
}
try {
Flags f = m.getFlags();
if (FLAGDEFS[i].builtin != null
? f.contains(FLAGDEFS[i].builtin)
: f.contains(FLAGDEFS[i].non_builtin)) {
xms |= FLAGDEFS[i].flag;
}
} catch (MessagingException e) { }
}
xms = internalFlagsToMozillaFlags(xms);
}

View File

@ -14,6 +14,9 @@
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are Copyright (C) 1997
# Netscape Communications Corporation. All Rights Reserved.
#
# Contributors: Will Scullin <scullin@meer.net>
#
#
# multipane menu labels
@ -143,13 +146,15 @@ msgForwardLabel=Forward
msgForwardAccel=F
msgForwardQuotedLabel=Forward Quoted
msgForwardQuotedAccel=Q
msgMoveLabel=File to
msgMoveAccel=F
msgMovePopupLabel=File to
msgCopyLabel=Copy to
msgCopyAccel=C
msgCopyPopupLabel=Copy to
msgDeleteLabel=Delete Message
msgDeleteAccel=D
msgDeletePopupLabel=Delete Message
msgMarkLabel=Mark
msgMarkAccel=M