mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 11:13:29 +00:00
Adding accelerator for AddressBook (51418). r=pavlov
This commit is contained in:
parent
41650445a0
commit
75dc3c866e
@ -19,13 +19,16 @@
|
||||
|
||||
|
||||
<keyset id="keyset">
|
||||
<key id="key_navigator" xulkey="true" key="&navigatorCmd.commandkey;" observes="Tasks:Navigator"/>
|
||||
<key id="key_editor" xulkey="true" key="&editorCmd.commandkey;" observes="Tasks:Editor"/>
|
||||
<key id="key_navigator" xulkey="true" key="&navigatorCmd.commandkey;" observes="Tasks:Navigator"/>
|
||||
<key id="key_editor" xulkey="true" key="&editorCmd.commandkey;" observes="Tasks:Editor"/>
|
||||
<key id="key_addressbook" xulkey="true" shift="true"
|
||||
key="&addressBookCmd.commandkey;" observes="Tasks:AddressBook"/>
|
||||
</keyset>
|
||||
|
||||
<broadcasterset id="broadcasterset">
|
||||
<broadcaster id="Tasks:Navigator" value="&navigatorCmd.label;" oncommand="toNavigator();"/>
|
||||
<broadcaster id="Tasks:Editor" value="&editorCmd.label;" oncommand="toEditor();"/>
|
||||
<broadcaster id="Tasks:AddressBook" value="&addressBookCmd.label;" oncommand="toAddressBook();"/>
|
||||
</broadcasterset>
|
||||
|
||||
|
||||
@ -44,7 +47,7 @@
|
||||
<menuitem accesskey="&editorCmd.accesskey;" key="key_editor" observes="Tasks:Editor" />
|
||||
<menuseparator/>
|
||||
|
||||
<menuitem value="&addressBookCmd.label;" accesskey="&addressBookCmd.accesskey;" oncommand="toAddressBook()"/>
|
||||
<menuitem accesskey="&addressBookCmd.accesskey;" key="key_addressbook" observes="Tasks:AddressBook"/>
|
||||
<menuseparator/>
|
||||
|
||||
<menu value="&walletMenu.label;" accesskey="&walletMenu.accesskey;">
|
||||
|
@ -11,6 +11,7 @@
|
||||
<!ENTITY editorCmd.commandkey "4">
|
||||
<!ENTITY addressBookCmd.label "Address Book">
|
||||
<!ENTITY addressBookCmd.accesskey "a">
|
||||
<!ENTITY addressBookCmd.commandkey "2">
|
||||
|
||||
<!ENTITY toolsMenu.label "Tools">
|
||||
<!ENTITY toolsMenu.accesskey "t">
|
||||
|
Loading…
Reference in New Issue
Block a user