Bug 1433139 - Follow-up to adjust keybindings to work on Windows. r=mikedeboer
authorDzmitry Malyshau <kvark@mozilla.com>
Tue, 30 Jan 2018 12:28:52 -0500
changeset 749095 031ccad355e47f0697deeedd956753dc8fcb48b4
parent 749094 dc0e8ad85292559a7099016daa4ec25a0f70f630
child 749096 fa40c16f194c89b4db36c1495a33f0a62c32dfb0
child 750125 3e16439303758e1ec49bc6a00a387f1dd5271f3f
push id97316
push userbmo:continuation@gmail.com
push dateTue, 30 Jan 2018 22:53:01 +0000
reviewersmikedeboer
bugs1433139
milestone60.0a1
Bug 1433139 - Follow-up to adjust keybindings to work on Windows. r=mikedeboer MozReview-Commit-ID: 8AmnZzDKu8p
browser/base/content/browser-sets.inc
--- a/browser/base/content/browser-sets.inc
+++ b/browser/base/content/browser-sets.inc
@@ -381,22 +381,22 @@
 #expand    <key id="key_selectTab5" oncommand="gBrowser.selectTabAtIndex(4, event);" key="5" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
 #expand    <key id="key_selectTab6" oncommand="gBrowser.selectTabAtIndex(5, event);" key="6" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
 #expand    <key id="key_selectTab7" oncommand="gBrowser.selectTabAtIndex(6, event);" key="7" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
 #expand    <key id="key_selectTab8" oncommand="gBrowser.selectTabAtIndex(7, event);" key="8" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
 #expand    <key id="key_selectLastTab" oncommand="gBrowser.selectTabAtIndex(-1, event);" key="9" modifiers="__NUM_SELECT_TAB_MODIFIER__"/>
 
 #ifdef NIGHTLY_BUILD
     <key id="key_wrCaptureCmd"
-#ifdef XP_GNOME
-    keycode="VK_3" event="keydown"
+#ifdef XP_MACOSX
+    keycode="3" modifiers="control,shift"
 #else
-    key="3"
+    key="#" modifiers="control"
 #endif
-    command="wrCaptureCmd" modifiers="control,shift"/>
+    command="wrCaptureCmd"/>
 #endif
   </keyset>
 
 # Used by baseMenuOverlay
 #ifdef XP_MACOSX
   <commandset id="baseMenuCommandSet" />
 #endif
   <keyset id="baseMenuKeyset" />