зеркало из https://github.com/mozilla/pjs.git
add select flagged menu item, porting of Neil's SM patch, r=magnus, 72823
This commit is contained in:
Родитель
7631e5bd6e
Коммит
fd0dc8a29d
|
@ -229,6 +229,7 @@ var DefaultController =
|
||||||
case "cmd_selectAll":
|
case "cmd_selectAll":
|
||||||
case "cmd_selectThread":
|
case "cmd_selectThread":
|
||||||
case "cmd_moveToFolderAgain":
|
case "cmd_moveToFolderAgain":
|
||||||
|
case "cmd_selectFlagged":
|
||||||
return true;
|
return true;
|
||||||
case "cmd_downloadFlagged":
|
case "cmd_downloadFlagged":
|
||||||
case "cmd_downloadSelected":
|
case "cmd_downloadSelected":
|
||||||
|
@ -375,6 +376,7 @@ var DefaultController =
|
||||||
case "cmd_search":
|
case "cmd_search":
|
||||||
return IsCanSearchMessagesEnabled();
|
return IsCanSearchMessagesEnabled();
|
||||||
case "cmd_selectAll":
|
case "cmd_selectAll":
|
||||||
|
case "cmd_selectFlagged":
|
||||||
return gDBView != null;
|
return gDBView != null;
|
||||||
// these are enabled on when we are in threaded mode
|
// these are enabled on when we are in threaded mode
|
||||||
case "cmd_selectThread":
|
case "cmd_selectThread":
|
||||||
|
@ -699,6 +701,9 @@ var DefaultController =
|
||||||
case "cmd_selectThread":
|
case "cmd_selectThread":
|
||||||
gDBView.doCommand(nsMsgViewCommandType.selectThread);
|
gDBView.doCommand(nsMsgViewCommandType.selectThread);
|
||||||
break;
|
break;
|
||||||
|
case "cmd_selectFlagged":
|
||||||
|
gDBView.doCommand(nsMsgViewCommandType.selectFlagged);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1003,6 +1003,10 @@
|
||||||
accesskey="&selectThreadCmd.accesskey;"
|
accesskey="&selectThreadCmd.accesskey;"
|
||||||
key="key_selectThread"
|
key="key_selectThread"
|
||||||
command="cmd_selectThread"/>
|
command="cmd_selectThread"/>
|
||||||
|
<menuitem id="menu_selectFlagged"
|
||||||
|
label="&selectFlaggedCmd.label;"
|
||||||
|
accesskey="&selectFlaggedCmd.accesskey;"
|
||||||
|
command="cmd_selectFlagged"/>
|
||||||
</menupopup>
|
</menupopup>
|
||||||
</menu>
|
</menu>
|
||||||
<menuseparator id="editMenuAfterSelectSeparator"/>
|
<menuseparator id="editMenuAfterSelectSeparator"/>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче