Bug 1368734 - Part 1 - re-assign the keyboard shortcut for the devtools Network Monitor to the Quit Application command and use 'E' instead. r=bgrins,Gijs

MozReview-Commit-ID: BkTSn6IbCBS

--HG--
extra : rebase_source : 2ea1ee84b59a2c22cd25028e5ea78a2aa9d543fa
This commit is contained in:
Mike de Boer 2017-05-31 19:21:58 +02:00
parent 657c2807d0
commit bdf8d3e285
4 changed files with 11 additions and 8 deletions

View File

@ -352,10 +352,14 @@
<key id="key_sanitize" command="Tools:Sanitize" keycode="VK_DELETE" modifiers="accel,shift"/>
#ifdef XP_MACOSX
<key id="key_sanitize_mac" command="Tools:Sanitize" keycode="VK_BACK" modifiers="accel,shift"/>
<key id="key_quitApplication" key="&quitApplicationCmdUnix.key;" modifiers="accel" reserved="true"/>
#elifdef XP_UNIX
<key id="key_quitApplication" key="&quitApplicationCmdUnix.key;" command="cmd_quitApplication" modifiers="accel" reserved="true"/>
#endif
<key id="key_quitApplication" key="&quitApplicationCmd.key;"
#ifdef XP_WIN
modifiers="accel,shift"
#else
modifiers="accel"
#endif
reserved="true"/>
#ifdef FULL_BROWSER_WINDOW
<key id="key_undoCloseTab" command="History:UndoCloseTab" key="&tabCmd.commandkey;" modifiers="accel,shift"/>

View File

@ -688,8 +688,7 @@ you can use these alternative items. Otherwise, their values should be empty. -
<!ENTITY quitApplicationCmd.label "Quit">
<!ENTITY quitApplicationCmd.accesskey "Q">
<!ENTITY quitApplicationCmdMac2.label "Quit &brandShorterName;">
<!-- LOCALIZATION NOTE(quitApplicationCmdUnix.key): This keyboard shortcut is used by both Linux and OSX builds. -->
<!ENTITY quitApplicationCmdUnix.key "Q">
<!ENTITY quitApplicationCmd.key "Q">
<!ENTITY closeCmd.label "Close">
<!ENTITY closeCmd.key "W">

View File

@ -301,7 +301,7 @@ Tools.memory = {
Tools.netMonitor = {
id: "netmonitor",
accesskey: l10n("netmonitor.accesskey"),
key: l10n("netmonitor.commandkey"),
key: l10n("netmonitor.commandkey2"),
ordinal: 9,
modifiers: osString == "Darwin" ? "accel,alt" : "accel,shift",
visibilityswitch: "devtools.netmonitor.enabled",

View File

@ -175,9 +175,9 @@ netmonitor.label=Network
# This is used as the label for the toolbox panel.
netmonitor.panelLabel=Network Panel
# LOCALIZATION NOTE (netmonitor.commandkey, netmonitor.accesskey)
# LOCALIZATION NOTE (netmonitor.commandkey2, netmonitor.accesskey)
# Used for the menuitem in the tool menu
netmonitor.commandkey=Q
netmonitor.commandkey2=E
netmonitor.accesskey=N
# LOCALIZATION NOTE (netmonitor.tooltip2):