Adding accelerator for mail in Tasks menu (51418). r=pavlov

This commit is contained in:
mcafee%netscape.com 2000-09-12 02:33:16 +00:00
parent 1a3925bde4
commit d53cbf44de
2 changed files with 14 additions and 3 deletions

View File

@ -47,14 +47,24 @@
]]>
</script>
<keyset id="keyset">
<key id="key_mail" xulkey="true" key="&messengerCmd.commandkey;" observes="Tasks:Mail"/>
</keyset>
<broadcasterset id="broadcasterset">
<broadcaster id="Tasks:Mail" value="&messengerCmd.label;" oncommand="toMessengerWindow();"/>
</broadcasterset>
<box id="taskButtons">
<button class="button-toolbar-4 taskbutton" id="mini-mail" onclick="toMessengerWindow()"
position="2" tooltip="aTooltip" tooltiptext="&taskMessenger.tooltip;"/>
</box>
<menupopup id="taskPopup">
<menuitem position="2" value="&messengerCmd.label;" accesskey="&messengerCmd.accesskey;" oncommand="toMessengerWindow()"/>
<menuitem position="2" value="&messengerCmd.label;" accesskey="&messengerCmd.accesskey;" key="key_mail" observes="Tasks:Mail"/>
</menupopup>
</overlay>

View File

@ -1,7 +1,8 @@
<!-- LOCALIZATION NOTE (messengerCmd.label): DONT_TRANSLATE -->
<!ENTITY messengerCmd.label "Mail">
<!ENTITY messengerCmd.accesskey "m">
<!ENTITY messengerCmd.accesskey "m">
<!ENTITY messengerCmd.commandkey "2">
<!ENTITY taskMessenger.tooltip "Mail">