mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 10:54:33 +00:00
Changes by Will Scullin to get context menus and message copying/moving working.
This commit is contained in:
parent
37ad656127
commit
813798450c
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user