Bug 587398 - Alt+Home Keyboard Shortcut Broken; Key Event Modifier navigator.xul
authorBruno 'Aqualon' Escherl <aqualon@aquachan.de>
Wed, 25 Aug 2010 15:44:02 +0200
changeset 6326 ba68b04c0ab1e645cb60366dc17587897ab851c2
parent 6325 831ed4c403f6315fad93864d31cf7c6c2cf88f5d
child 6327 7fbe67b916309be7a244e7be0b8b2f44068ce5e8
push idunknown
push userunknown
push dateunknown
bugs587398
Bug 587398 - Alt+Home Keyboard Shortcut Broken; Key Event Modifier navigator.xul r=iann
suite/browser/mac/platformNavigationBindings.xul
suite/browser/unix/platformNavigationBindings.xul
suite/browser/win/platformNavigationBindings.xul
--- a/suite/browser/mac/platformNavigationBindings.xul
+++ b/suite/browser/mac/platformNavigationBindings.xul
@@ -8,15 +8,15 @@
   <keyset id="navigationKeys">
     <!-- proper arrow key navigation, 4.xP -->
     <key keycode="&goBackCmd.keyCode;" command="Browser:Back" modifiers="accel"/>
     <key keycode="&goForwardCmd.keyCode;" command="Browser:Forward" modifiers="accel"/>
     <key id="goBackKb" key="&goBackCmd.commandKey;" command="Browser:Back" modifiers="accel"/>
     <key id="goForwardKb" key="&goForwardCmd.commandKey;" command="Browser:Forward" modifiers="accel"/>
     <key id="key_stop2" keycode="VK_ESCAPE" oncommand="BrowserStop();"/>
     <key id="key_stop" key="." oncommand="BrowserStop();" modifiers="accel"/>
-    <key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="meta"/>
+    <key id="goHome" keycode="VK_HOME" oncommand="BrowserHome();" modifiers="meta"/>
     <key id="key_newTabWithTargetFg" keycode="VK_INSERT" modifiers="alt" command="cmd_newTabWithTarget"/>
     <!-- Add additional sanitize keybinding for Macs without a delete key -->
     <key id="key_sanitize_mac" command="Tools:Sanitize" keycode="VK_BACK" modifiers="accel,shift"/>
   </keyset>
 
 </overlay>
--- a/suite/browser/unix/platformNavigationBindings.xul
+++ b/suite/browser/unix/platformNavigationBindings.xul
@@ -14,17 +14,17 @@
          we live and learn.  -->
     <key key="&goBackCmd.commandKey;" command="Browser:Back" modifiers="accel"/>
     <key key="&goForwardCmd.commandKey;" command="Browser:Forward" modifiers="accel"/>
     <key id="key_stop" keycode="VK_ESCAPE" oncommand="BrowserStop();"/>
 
     <!-- Specific keybinding for Sun keyboard -->
     <key keycode="&findOnCmd.commandkey2;" command="Browser:Find"/>
 
-    <key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
+    <key id="goHome" keycode="VK_HOME" oncommand="BrowserHome();" modifiers="alt"/>
     <key id="key_fullScreen" keycode="VK_F11" command="View:FullScreen"/>
     <key id="key_newTabWithTargetBg" keycode="VK_INSERT" command="cmd_newTabWithTarget"/>
     <key id="key_newTabWithTargetFg" keycode="VK_INSERT" modifiers="alt" command="cmd_newTabWithTarget"/>
   </keyset>
 
   <menuitem id="menuitem_fullScreen" hidden="false"/>
 </overlay>
 
--- a/suite/browser/win/platformNavigationBindings.xul
+++ b/suite/browser/win/platformNavigationBindings.xul
@@ -11,17 +11,17 @@
     <key id="goBackKb"  keycode="&goBackCmd.keyCode;" command="Browser:Back" modifiers="alt"/>
     <key id="goForwardKb"  keycode="&goForwardCmd.keyCode;" command="Browser:Forward" modifiers="alt"/>
     <key id="key_stop" keycode="VK_ESCAPE" oncommand="BrowserStop();"/>
 
     <!-- Supporting IE 'refresh' shortcut key -->
     <key keycode="VK_F5" oncommand="BrowserReload();"/>
     <key keycode="VK_F5" modifiers="control" oncommand="BrowserReloadSkipCache();"/>
 
-    <key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
+    <key id="goHome" keycode="VK_HOME" oncommand="BrowserHome();" modifiers="alt"/>
 
     <key id="key_fullScreen" keycode="VK_F11" command="View:FullScreen"/>
     <key id="key_newTabWithTargetBg" keycode="VK_INSERT" command="cmd_newTabWithTarget"/>
     <key id="key_newTabWithTargetFg" keycode="VK_INSERT" modifiers="alt" command="cmd_newTabWithTarget"/>
   </keyset>
 
   <keyset id="viewSourceKeys">
     <!-- Supporting IE 'refresh' shortcut key in view source -->