mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Bug #130070 --> Add Mark All Read to the folder pane's context menu. Thanks to Aidas Kasparas for the patch.
r=neil sr=mscott a=asa
This commit is contained in:
parent
1fe8179c7b
commit
400db9964f
@ -630,9 +630,13 @@
|
||||
label="&folderContextGetMessages.label;"
|
||||
accesskey="&folderContextGetMessages.accesskey;"
|
||||
oncommand="MsgGetMessage();"/>
|
||||
<menuitem id="folderPaneContext-markAllRead"
|
||||
<menuitem id="folderPaneContext-markNewsgroupAllRead"
|
||||
label="&folderContextMarkNewsgroupRead.label;"
|
||||
accesskey="&folderContextMarkNewsgroupRead.accesskey;"
|
||||
oncommand="MsgMarkAllRead();"/>
|
||||
<menuitem id="folderPaneContext-markMailFolderAllRead"
|
||||
label="&folderContextMarkMailFolderRead.label;"
|
||||
accesskey="&folderContextMarkMailFolderRead.accesskey;"
|
||||
oncommand="MsgMarkAllRead();"/>
|
||||
<menuitem id="folderPaneContext-new"
|
||||
label="&folderContextNew.label;"
|
||||
|
@ -435,7 +435,9 @@
|
||||
<!ENTITY folderContextUnsubscribe.label "Unsubscribe">
|
||||
<!ENTITY folderContextUnsubscribe.accesskey "U">
|
||||
<!ENTITY folderContextMarkNewsgroupRead.label "Mark Newsgroup Read">
|
||||
<!ENTITY folderContextMarkNewsgroupRead.accesskey "k">
|
||||
<!ENTITY folderContextMarkNewsgroupRead.accesskey "k">
|
||||
<!ENTITY folderContextMarkMailFolderRead.label "Mark Folder Read">
|
||||
<!ENTITY folderContextMarkMailFolderRead.accesskey "k">
|
||||
<!ENTITY folderContextNew.label "New Subfolder...">
|
||||
<!ENTITY folderContextNew.accesskey "N">
|
||||
<!ENTITY folderContextSubscribe.label "Subscribe...">
|
||||
|
@ -307,10 +307,13 @@ function fillFolderPaneContextMenu()
|
||||
|
||||
ShowMenuItem("folderPaneContext-newsUnsubscribe", (numSelected <= 1) && canSubscribeToFolder && isNewsgroup);
|
||||
EnableMenuItem("folderPaneContext-newsUnsubscribe", true);
|
||||
ShowMenuItem("folderPaneContext-markAllRead", (numSelected <= 1) && isNewsgroup);
|
||||
EnableMenuItem("folderPaneContext-markAllRead", true);
|
||||
ShowMenuItem("folderPaneContext-markNewsgroupAllRead", (numSelected <= 1) && isNewsgroup);
|
||||
EnableMenuItem("folderPaneContext-markNewsgroupAllRead", true);
|
||||
|
||||
// End of News folder context menu =======================================
|
||||
|
||||
ShowMenuItem("folderPaneContext-markMailFolderAllRead", (numSelected <= 1) && ! isNewsgroup);
|
||||
EnableMenuItem("folderPaneContext-markMailFolderAllRead", true);
|
||||
|
||||
ShowMenuItem("folderPaneContext-searchMessages", (numSelected<=1));
|
||||
EnableMenuItem("folderPaneContext-searchMessages", IsCanSearchMessagesEnabled());
|
||||
|
@ -645,9 +645,13 @@ Rights Reserved.
|
||||
label="&folderContextGetMessages.label;"
|
||||
accesskey="&folderContextGetMessages.accesskey;"
|
||||
oncommand="MsgGetMessage();"/>
|
||||
<menuitem id="folderPaneContext-markAllRead"
|
||||
<menuitem id="folderPaneContext-markNewsgroupAllRead"
|
||||
label="&folderContextMarkNewsgroupRead.label;"
|
||||
accesskey="&folderContextMarkNewsgroupRead.accesskey;"
|
||||
oncommand="MsgMarkAllRead();"/>
|
||||
<menuitem id="folderPaneContext-markMailFolderAllRead"
|
||||
label="&folderContextMarkMailFolderRead.label;"
|
||||
accesskey="&folderContextMarkMailFolderRead.accesskey;"
|
||||
oncommand="MsgMarkAllRead();"/>
|
||||
<menuitem id="folderPaneContext-new"
|
||||
label="&folderContextNew.label;"
|
||||
|
@ -493,6 +493,8 @@ Rights Reserved.
|
||||
<!ENTITY folderContextUnsubscribe.accesskey "U">
|
||||
<!ENTITY folderContextMarkNewsgroupRead.label "Mark Newsgroup Read">
|
||||
<!ENTITY folderContextMarkNewsgroupRead.accesskey "k">
|
||||
<!ENTITY folderContextMarkMailFolderRead.label "Mark Folder Read">
|
||||
<!ENTITY folderContextMarkMailFolderRead.accesskey "k">
|
||||
<!ENTITY folderContextNew.label "New Subfolder...">
|
||||
<!ENTITY folderContextNew.accesskey "N">
|
||||
<!ENTITY folderContextSubscribe.label "Subscribe...">
|
||||
|
Loading…
x
Reference in New Issue
Block a user