зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
ee9a6a0552
Коммит
cdf8467b34
|
@ -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">
|
||||
|
|
Загрузка…
Ссылка в новой задаче