Fix 64135: alt+home shortcut to go Home (command+home on mac). r=timeless a=ben

This commit is contained in:
blakeross%telocity.com 2006-09-14 05:55:31 +00:00
parent 81eadc9b2d
commit d976d9a5eb
4 changed files with 7 additions and 2 deletions

View File

@ -10,6 +10,7 @@
<key id="goBackKbMac" key="[" observes="Browser:Back" modifiers="accel"/>
<key id="goForwardKbMac" key="]" observes="Browser:Forward" modifiers="accel"/>
<key id="stopMac" key="." oncommand="BrowserStop();" modifiers="accel"/>
<key id="goHome" keycode="VK_HOME" observes="Browser:Home" modifiers="meta"/>
</keyset>
</overlay>

View File

@ -78,7 +78,7 @@
<key id="key_find" key="&findOnCmd.commandkey;" observes="Browser:Find" modifiers="accel"/>
<key id="key_findAgain" key="&findAgainCmd.commandkey;" observes="Browser:FindAgain" modifiers="accel"/>
<!-- Go Menu -->
<!-- Go Menu -->
<!-- Bookmarks Menu -->
<key id="addBookmarkKb" key="&addCurPageCmd.commandkey;" observes="Browser:AddBookmark" modifiers="accel"/>
@ -298,7 +298,7 @@ oncommand="goPreferences('pref-themes.xul','chrome://communicator/content/pref/p
<menupopup oncreate="updateGoMenu(event);">
<menuitem id="menuitem-back" value="&goBackCmd.label;" accesskey="&goBackCmd.accesskey;" observes="Browser:Back" key="goBackKb"/>
<menuitem id="menuitem-forward" value="&goForwardCmd.label;" accesskey="&goForwardCmd.accesskey;" observes="Browser:Forward" key="goForwardKb"/>
<menuitem id="menuitem-home" value="&goHomeCmd.label;" accesskey="&goHomeCmd.accesskey;" observes="Browser:Home"/>
<menuitem id="menuitem-home" value="&goHomeCmd.label;" accesskey="&goHomeCmd.accesskey;" observes="Browser:Home" key="goHome"/>
<menuseparator />
</menupopup>
</menu>

View File

@ -14,6 +14,8 @@
we live and learn. -->
<key id="goBackKbWacko" key="&goBackCmd.commandKey;" observes="Browser:Back" modifiers="accel"/>
<key id="goForwardKbWacko" key="&goForwardCmd.commandKey;" observes="Browser:Forward" modifiers="accel"/>
<key id="goHome" keycode="VK_HOME" observes="Browser:Home" modifiers="alt"/>
</keyset>
</overlay>

View File

@ -17,6 +17,8 @@
<!-- Supporting IE 'refresh' shortcut key -->
<key id="reloadIE" keycode="VK_F5" observes="canReload"/>
<key id="goHome" keycode="VK_HOME" observes="Browser:Home" modifiers="alt"/>
</keyset>
</overlay>