Adding accelerator for AddressBook (51418). r=pavlov

This commit is contained in:
mcafee%netscape.com 2000-09-12 03:47:57 +00:00
parent 41650445a0
commit 75dc3c866e
2 changed files with 7 additions and 3 deletions

View File

@ -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;">

View File

@ -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">