mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
Adding accelerator for mail in Tasks menu (51418). r=pavlov
This commit is contained in:
parent
1a3925bde4
commit
d53cbf44de
@ -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>
|
||||
|
@ -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">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user