Bug 88739 F1 on Win/*nix, Cmd+? on Mac key doesn't bring up help

p=stefan_h@hem.utfors.se r=brade sr=neil.parkwaycc.co.uk a=asa
This commit is contained in:
bugzilla%arlen.demon.co.uk 2006-07-29 05:44:53 +00:00
Родитель ee9a6a0552
Коммит cdf8467b34
6 изменённых файлов: 41 добавлений и 0 удалений

Просмотреть файл

@ -72,6 +72,21 @@
command="cmd_minimizeWindow"
key="&minimizeWindowCmd.key;"
modifiers="accel"/>
<!-- Standard OS X shortcut for opening Help (Cmd+? on most locales), visible
in the Help menu (if there's a Help viewer) -->
<key id="key_openHelp"
key="&openHelpFrontend.key;"
modifiers="&openHelpFrontend.modifiers;"/>
<!-- The Shift key is needed for the "?", thus we need openHelpCmd.key and
openHelpCmd.modifiers for the mapping -->
<key key="&openHelpCmd.key;"
modifiers="&openHelpCmd.modifiers;"
command="cmd_openHelp"/>
<key keycode="&openHelp2Cmd.key;"
command="cmd_openHelp"/>
</keyset>
<!-- Window menu -->

Просмотреть файл

@ -41,4 +41,11 @@
<key id="key_findTypeLinks"
key="&findTypeLinksCmd.key;"/>
<!-- Tasks Keys -->
<keyset id="tasksKeys">
<key id="key_openHelp"
keycode="&openHelpCmd.key;"
command="cmd_openHelp"/>
</keyset>
</overlay>

Просмотреть файл

@ -42,4 +42,11 @@
<key id="key_findTypeLinks"
key="&findTypeLinksCmd.key;"/>
<!-- Tasks Keys -->
<keyset id="tasksKeys">
<key id="key_openHelp"
keycode="&openHelpCmd.key;"
command="cmd_openHelp"/>
</keyset>
</overlay>

Просмотреть файл

@ -27,3 +27,13 @@
<!-- Help viewer -->
<!ENTITY openHelpCmd.label "&brandShortName; Help">
<!ENTITY openHelpCmd.accesskey "H">
<!-- LOCALIZATION NOTE: openHelpFrontend.key and openHelpFrontend.modifiers
will show the standard OS X shortcut (Cmd+? on most locales) in the Help
menu. To make the shortcut work, mapping (Cmd+Shift+/ on en-US) is done with
openHelpCmd.key and openHelpCmd.modifiers. -->
<!ENTITY openHelpFrontend.key "?">
<!ENTITY openHelpFrontend.modifiers "accel">
<!ENTITY openHelpCmd.key "/">
<!ENTITY openHelpCmd.modifiers "accel,shift">
<!ENTITY openHelp2Cmd.key "VK_HELP">

Просмотреть файл

@ -21,3 +21,4 @@
<!-- Help viewer -->
<!ENTITY openHelpCmd.label "Help Contents">
<!ENTITY openHelpCmd.accesskey "H">
<!ENTITY openHelpCmd.key "VK_F1">

Просмотреть файл

@ -22,3 +22,4 @@
<!-- Help viewer -->
<!ENTITY openHelpCmd.label "Help Contents">
<!ENTITY openHelpCmd.accesskey "H">
<!ENTITY openHelpCmd.key "VK_F1">