1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifdef XP_UNIX
#ifndef XP_MACOSX
#define XP_GNOME 1
#endif
#endif
<key id="space" key=" " modifiers="shift any" oncommand="goDoCommand('cmd_space', event);"/>
<!-- File Menu -->
<key id="key_close" key="&closeCmd.key;" command="cmd_close" modifiers="accel"/>
#ifndef XP_MACOSX
<key id="key_close2" keycode="VK_F4" modifiers="accel" command="cmd_close"/>
<key id="key_renameFolder" keycode="&renameFolder.key;" oncommand="goDoCommand('cmd_renameFolder')"/>
#endif
<key id="key_quitApplication" data-l10n-id="quit-app-shortcut"
#ifdef XP_WIN
modifiers="accel,shift"
#else
modifiers="accel"
#endif
#ifdef XP_MACOSX
internal="true"
#else
command="cmd_quitApplication"
#endif
reserved="true"/>
<!-- Edit Menu -->
<key id="key_undo" data-l10n-id="text-action-undo-shortcut" modifiers="accel" internal="true"/>
<key id="key_redo"
#ifdef XP_UNIX
data-l10n-id="text-action-undo-shortcut" modifiers="shift, accel"
#else
data-l10n-id="text-action-redo-shortcut" modifiers="accel"
#endif
internal="true"/>
<key id="key_cut" data-l10n-id="text-action-cut-shortcut" modifiers="accel" internal="true"/>
<key id="key_copy" data-l10n-id="text-action-copy-shortcut" modifiers="accel" internal="true"/>
<key id="key_paste" data-l10n-id="text-action-paste-shortcut" modifiers="accel" internal="true"/>
#ifdef XP_MACOSX
<key id="key_delete" keycode="VK_BACK"
oncommand="goDoCommand('cmd_delete');"/>
<key id="key_delete2" keycode="VK_DELETE"
oncommand="goDoCommand('cmd_delete');"/>
<key id="cmd_shiftDelete" keycode="VK_BACK"
oncommand="goDoCommand('cmd_shiftDelete');" modifiers="shift"/>
<key id="cmd_shiftDelete2" keycode="VK_DELETE"
oncommand="goDoCommand('cmd_shiftDelete');" modifiers="shift"/>
#else
<key id="key_delete" keycode="VK_DELETE"
oncommand="goDoCommand('cmd_delete');"/>
<key id="cmd_shiftDelete" keycode="VK_DELETE"
oncommand="goDoCommand('cmd_shiftDelete');" modifiers="shift"/>
#endif
<key id="key_selectAll" data-l10n-id="text-action-select-all-shortcut" modifiers="accel" internal="true"/>
<key id="key_selectThread" key="&selectThreadCmd.key;" oncommand="goDoCommand('cmd_selectThread');" modifiers="accel, shift"/>
<key id="key_toggleRead" key="&toggleReadCmd.key;" oncommand="goDoCommand('cmd_toggleRead');"/>
<key id="key_toggleFlagged" key="&markStarredCmd.key;" oncommand="goDoCommand('cmd_markAsFlagged');"/>
<key id="key_markJunk" key="&markAsJunkCmd.key;" oncommand="goDoCommand('cmd_markAsJunk');"/>
<key id="key_markNotJunk" key="&markAsNotJunkCmd.key;" oncommand="goDoCommand('cmd_markAsNotJunk');"
modifiers="shift"/>
<key id="key_markAllRead" key="&markAllReadCmd.key;"
oncommand="goDoCommand('cmd_markAllRead');" modifiers="shift"/>
<key id="key_markThreadAsRead" key="&markThreadAsReadCmd.key;" oncommand="goDoCommand('cmd_markThreadAsRead')"/>
<key id="key_markReadByDate" key="&markReadByDateCmd.key;" oncommand="goDoCommand('cmd_markReadByDate')"/>
<key id="key_nextMsg" key="&nextMsgCmd.key;" oncommand="goDoCommand('cmd_nextMsg')"/>
<key id="key_nextUnreadMsg" key="&nextUnreadMsgCmd.key;" oncommand="goDoCommand('cmd_nextUnreadMsg')"/>
<key id="key_expandAllThreads" key="&expandAllThreadsCmd.key;" oncommand="goDoCommand('cmd_expandAllThreads')"/>
<key key="&expandAllThreadsCmd.key;" modifiers="shift" oncommand="goDoCommand('cmd_expandAllThreads')"/>
<key id="key_collapseAllThreads" key="&collapseAllThreadsCmd.key;" oncommand="goDoCommand('cmd_collapseAllThreads')"/>
<key key="&collapseAllThreadsCmd.key;" modifiers="shift" oncommand="goDoCommand('cmd_collapseAllThreads')"/>
<key id="key_nextUnreadThread" key="&nextUnreadThread.key;" oncommand="goDoCommand('cmd_nextUnreadThread')"/>
<key id="key_previousMsg" key="&prevMsgCmd.key;" oncommand="goDoCommand('cmd_previousMsg')"/>
<key id="key_previousUnreadMsg" key="&prevUnreadMsgCmd.key;" oncommand="goDoCommand('cmd_previousUnreadMsg')"/>
<key id="key_archive" key="&archiveMsgCmd.key;" oncommand="goDoCommand('cmd_archive')"/>
<key id="key_goForward" key="&goForwardCmd.commandKey;" oncommand="goDoCommand('cmd_goForward')"/>
<key id="key_goBack" key="&goBackCmd.commandKey;" oncommand="goDoCommand('cmd_goBack')"/>
<key id="key_goStartPage" keycode="VK_HOME" oncommand="goDoCommand('cmd_goStartPage')" modifiers="alt"/>
<key id="key_undoCloseTab" key="&undoCloseTabCmd.commandkey;" oncommand="goDoCommand('cmd_undoCloseTab')" modifiers="accel, shift"/>
<key id="key_reply" key="&replyMsgCmd.key;" oncommand="goDoCommand('cmd_reply')" modifiers="accel"/>
<key id="key_replyall" key="&replyToAllMsgCmd.key;" oncommand="goDoCommand('cmd_replyall')" modifiers="accel, shift"/>
<key id="key_replylist" key="&replyToListMsgCmd.key;" oncommand="goDoCommand('cmd_replylist')" modifiers="accel, shift"/>
<key id="key_forward" key="&forwardMsgCmd.key;" oncommand="goDoCommand('cmd_forward')" modifiers="accel"/>
<key id="key_editAsNew" key="&editAsNewMsgCmd.key;" oncommand="goDoCommand('cmd_editAsNew')" modifiers="accel"/>
<key id="key_newMsgFromTemplate" keycode="&newMsgFromTemplateCmd.keycode;" internal="true"/><!-- for display on menus only -->
<key id="key_watchThread" key="&watchThreadMenu.key;" oncommand="goDoCommand('cmd_watchThread')" />
<key id="key_killThread" key="&killThreadMenu.key;" oncommand="goDoCommand('cmd_killThread')" />
<key id="key_killSubthread" key="&killSubthreadMenu.key;" oncommand="goDoCommand('cmd_killSubthread')" modifiers="shift" />
<key id="key_openMessage" key="&openMessageWindowCmd.key;" oncommand="goDoCommand('cmd_openMessage')" modifiers="accel"/>
<key id="key_openConversation" key="&openInConversationCmd.key;" oncommand="goDoCommand('cmd_openConversation')" modifiers="accel, shift"/>
#ifdef XP_MACOSX
<key id="key_moveToFolderAgain" key="&moveToFolderAgainCmd.key;" oncommand="goDoCommand('cmd_moveToFolderAgain')" modifiers="alt, accel"/>
#else
<key id="key_moveToFolderAgain" key="&moveToFolderAgainCmd.key;" oncommand="goDoCommand('cmd_moveToFolderAgain')" modifiers="accel, shift"/>
#endif
<key id="key_print" key="&printCmd.key;" oncommand="goDoCommand('cmd_print')" modifiers="accel"/>
<key id="key_saveAsFile" key="&saveAsFileCmd.key;" oncommand="goDoCommand('cmd_saveAsFile')" modifiers="accel"/>
<key id="key_viewPageSource" key="&pageSourceCmd.key;" oncommand="goDoCommand('cmd_viewPageSource')" modifiers="accel"/>
#ifdef XP_MACOSX
<key id="key_getNewMessagesAlt" keycode="VK_F5"
oncommand="goDoCommand('cmd_getNewMessages');"/>
<key id="key_getAllNewMessagesAlt" keycode="VK_F5" modifiers="shift"
oncommand="goDoCommand('cmd_getMsgsForAuthAccounts');"/>
<key id="key_getNewMessages" key="&getNewMessagesCmd.key;" modifiers="accel"
oncommand="goDoCommand('cmd_getNewMessages');"/>
<key id="key_getAllNewMessages" key="&getAllNewMessagesCmd.key;" modifiers="accel, shift"
oncommand="goDoCommand('cmd_getMsgsForAuthAccounts');"/>
#else
<key id="key_getNewMessages" keycode="VK_F5"
oncommand="goDoCommand('cmd_getNewMessages');"/>
<key id="key_getAllNewMessages" keycode="VK_F5" modifiers="shift"
oncommand="goDoCommand('cmd_getMsgsForAuthAccounts');"/>
#endif
#ifdef XP_GNOME
<key id="key_getNewMessages2" keycode="VK_F9"
oncommand="goDoCommand('cmd_getNewMessages');"/>
<key id="key_getAllNewMessages2" keycode="VK_F9" modifiers="shift"
oncommand="goDoCommand('cmd_getMsgsForAuthAccounts');"/>
#endif
<key id="key_find" key="&findCmd.key;" oncommand="goDoCommand('cmd_find')" modifiers="accel"/>
<key id="key_findAgain" key="&findAgainCmd.key;" oncommand="goDoCommand('cmd_findAgain')" modifiers="accel"/>
<key id="key_findPrev" key="&findPrevCmd.key;" oncommand="goDoCommand('cmd_findPrevious')" modifiers="accel, shift"/>
<key keycode="&findAgainCmd.key2;" oncommand="goDoCommand('cmd_findAgain')"/>
<key keycode="&findPrevCmd.key2;" oncommand="goDoCommand('cmd_findPrevious')" modifiers="shift"/>
<key id="key_quickSearchFocus" key="&quickSearchCmd.key;" oncommand="QuickSearchFocus()" modifiers="accel"/>
<keyset id="viewZoomKeys">
<key id="key_fullZoomReduce" key="&fullZoomReduceCmd.commandkey;"
command="cmd_fullZoomReduce" modifiers="accel"/>
<key key="&fullZoomReduceCmd.commandkey2;"
command="cmd_fullZoomReduce" modifiers="accel"/>
<key id="key_fullZoomEnlarge" key="&fullZoomEnlargeCmd.commandkey;"
command="cmd_fullZoomEnlarge" modifiers="accel"/>
<key key="&fullZoomEnlargeCmd.commandkey2;"
command="cmd_fullZoomEnlarge" modifiers="accel"/>
<key key="&fullZoomEnlargeCmd.commandkey3;"
command="cmd_fullZoomEnlarge" modifiers="accel"/>
<key id="key_fullZoomReset" key="&fullZoomResetCmd.commandkey;"
command="cmd_fullZoomReset" modifiers="accel"/>
<key key="&fullZoomResetCmd.commandkey2;"
command="cmd_fullZoomReset" modifiers="accel"/>
</keyset>
<!-- View Toggle Keys (F8) -->
<key id="key_toggleMessagePane" keycode="VK_F8" oncommand="goDoCommand('cmd_toggleMessagePane');"/>
<!-- Tag Keys -->
<!-- Includes both shifted and not, for Azerty and other layouts where the
numeric keys are shifted. -->
<key id="key_tag0" key="&tagCmd0.key;" modifiers="shift any"
oncommand="goDoCommand('cmd_removeTags');"/>
<key id="key_tag1" key="&tagCmd1.key;" modifiers="shift any"
oncommand="goDoCommand('cmd_tag1');"/>
<key id="key_tag2" key="&tagCmd2.key;" modifiers="shift any"
oncommand="goDoCommand('cmd_tag2');"/>
<key id="key_tag3" key="&tagCmd3.key;" modifiers="shift any"
oncommand="goDoCommand('cmd_tag3');"/>
<key id="key_tag4" key="&tagCmd4.key;" modifiers="shift any"
oncommand="goDoCommand('cmd_tag4');"/>
<key id="key_tag5" key="&tagCmd5.key;" modifiers="shift any"
oncommand="goDoCommand('cmd_tag5');"/>
<key id="key_tag6" key="&tagCmd6.key;" modifiers="shift any"
oncommand="goDoCommand('cmd_tag6');"/>
<key id="key_tag7" key="&tagCmd7.key;" modifiers="shift any"
oncommand="goDoCommand('cmd_tag7');"/>
<key id="key_tag8" key="&tagCmd8.key;" modifiers="shift any"
oncommand="goDoCommand('cmd_tag8');"/>
<key id="key_tag9" key="&tagCmd9.key;" modifiers="shift any"
oncommand="goDoCommand('cmd_tag9');"/>
<!-- Tools Keys -->
<key id="key_searchMail"
key="&searchMailCmd.key;"
modifiers="accel,shift"
command="cmd_searchMessages"/>
<key id="key_errorConsole"
key="&errorConsoleCmd.commandkey;"
oncommand="toJavaScriptConsole();"
modifiers="accel,shift"/>
<key id="key_devtoolsToolbox"
key="&devToolboxCmd.commandkey;"
#ifdef XP_MACOSX
modifiers="accel,alt"
#else
modifiers="accel,shift"
#endif
oncommand="BrowserToolboxLauncher.init();"/>
<key id="key_sanitizeHistory"
keycode="VK_DELETE"
oncommand="toSanitize();"
modifiers="accel,shift"/>
#ifdef XP_MACOSX
<key id="key_sanitizeHistory_mac"
keycode="VK_BACK"
oncommand="toSanitize();"
modifiers="accel,shift"/>
#endif
<key id="key_addressbook"
key="&addressBookCmd.key;"
modifiers="accel, shift"
oncommand="toAddressBook();"/>
<key id="key_savedFiles"
key="&savedFiles.key;"
modifiers="accel"
oncommand="openSavedFilesWnd();"/>
<key id="key_qfb_show"
modifiers="accel,shift"
data-l10n-id="quick-filter-bar-show"
command="cmd_showQuickFilterBar"/>
#ifdef XP_GNOME
#define NUM_SELECT_TAB_MODIFIER alt
#else
#define NUM_SELECT_TAB_MODIFIER accel
#endif
#expand <key id="key_mail" oncommand="focusOnMail(0, event);" key="1" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
#expand <key id="key_selectTab2" oncommand="focusOnMail(1, event);" key="2" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
#expand <key id="key_selectTab3" oncommand="focusOnMail(2, event);" key="3" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
#expand <key id="key_selectTab4" oncommand="focusOnMail(3, event);" key="4" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
#expand <key id="key_selectTab5" oncommand="focusOnMail(4, event);" key="5" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
#expand <key id="key_selectTab6" oncommand="focusOnMail(5, event);" key="6" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
#expand <key id="key_selectTab7" oncommand="focusOnMail(6, event);" key="7" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
#expand <key id="key_selectTab8" oncommand="focusOnMail(7, event);" key="8" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
#expand <key id="key_selectLastTab" oncommand="focusOnMail(-1, event);" key="9" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
#ifdef XP_MACOSX
<!-- Mac Window menu keys -->
<key id="key_minimizeWindow"
command="minimizeWindow"
key="&minimizeWindow.key;"
modifiers="accel"/>
<key id="key_addressbook"
oncommand="toAddressBook();"
key="&addressBookCmd.key;"
modifiers="accel, shift"/>
<!-- the following 3 keys are used in the application menu on Mac OS X Cocoa widgets -->
<key id="key_preferencesCmdMac"
key="&preferencesCmdMac.commandkey;"
modifiers="&preferencesCmdMac.modifiers;"
internal="true"/>
<key id="key_hideThisAppCmdMac"
key="&hideThisAppCmdMac.commandkey;"
modifiers="&hideThisAppCmdMac.modifiers;"
internal="true"/>
<key id="key_hideOtherAppsCmdMac"
key="&hideOtherAppsCmdMac.commandkey;"
modifiers="&hideOtherAppsCmdMac.modifiers;"
internal="true"/>
<key id="key_openHelp"
oncommand="openSupportURL();"
key="&productHelpMac.commandkey;"
modifiers="&productHelpMac.modifiers;"/>
#else
<key id="key_openHelp"
oncommand="openSupportURL();"
keycode="&productHelp.commandkey;"/>
#endif
|