зеркало из https://github.com/mozilla/pjs.git
Adding accelerator for Composer (51418). r=pavlov
This commit is contained in:
Родитель
415bdfef91
Коммит
960740ac89
|
@ -20,14 +20,15 @@
|
||||||
|
|
||||||
<keyset id="keyset">
|
<keyset id="keyset">
|
||||||
<key id="key_navigator" xulkey="true" key="&navigatorCmd.commandkey;" observes="Tasks:Navigator"/>
|
<key id="key_navigator" xulkey="true" key="&navigatorCmd.commandkey;" observes="Tasks:Navigator"/>
|
||||||
|
<key id="key_editor" xulkey="true" key="&editorCmd.commandkey;" observes="Tasks:Editor"/>
|
||||||
</keyset>
|
</keyset>
|
||||||
|
|
||||||
<broadcasterset id="broadcasterset">
|
<broadcasterset id="broadcasterset">
|
||||||
<broadcaster id="Tasks:Navigator" value="&navigatorCmd.label;" oncommand="toNavigator();"/>
|
<broadcaster id="Tasks:Navigator" value="&navigatorCmd.label;" oncommand="toNavigator();"/>
|
||||||
|
<broadcaster id="Tasks:Editor" value="&editorCmd.label;" oncommand="toEditor();"/>
|
||||||
</broadcasterset>
|
</broadcasterset>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Tasks Menu -->
|
<!-- Tasks Menu -->
|
||||||
<menu id="tasksMenu" value="&tasksMenu.label;" accesskey="&tasksMenu.accesskey;" datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot">
|
<menu id="tasksMenu" value="&tasksMenu.label;" accesskey="&tasksMenu.accesskey;" datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot">
|
||||||
<template>
|
<template>
|
||||||
|
@ -40,7 +41,7 @@
|
||||||
|
|
||||||
<menupopup id="taskPopup">
|
<menupopup id="taskPopup">
|
||||||
<menuitem accesskey="&navigatorCmd.accesskey;" key="key_navigator" observes="Tasks:Navigator"/>
|
<menuitem accesskey="&navigatorCmd.accesskey;" key="key_navigator" observes="Tasks:Navigator"/>
|
||||||
<menuitem value="&editorCmd.label;" accesskey="&editorCmd.accesskey;" oncommand="toEditor();" />
|
<menuitem accesskey="&editorCmd.accesskey;" key="key_editor" observes="Tasks:Editor" />
|
||||||
<menuseparator/>
|
<menuseparator/>
|
||||||
|
|
||||||
<menuitem value="&addressBookCmd.label;" accesskey="&addressBookCmd.accesskey;" oncommand="toAddressBook()"/>
|
<menuitem value="&addressBookCmd.label;" accesskey="&addressBookCmd.accesskey;" oncommand="toAddressBook()"/>
|
||||||
|
|
|
@ -6,10 +6,11 @@
|
||||||
<!ENTITY navigatorCmd.accesskey "n">
|
<!ENTITY navigatorCmd.accesskey "n">
|
||||||
<!ENTITY navigatorCmd.commandkey "1">
|
<!ENTITY navigatorCmd.commandkey "1">
|
||||||
<!-- LOCALIZATION NOTE (editorCmd.label): DONT_TRANSLATE -->
|
<!-- LOCALIZATION NOTE (editorCmd.label): DONT_TRANSLATE -->
|
||||||
<!ENTITY editorCmd.label "Composer">
|
<!ENTITY editorCmd.label "Composer">
|
||||||
<!ENTITY editorCmd.accesskey "c">
|
<!ENTITY editorCmd.accesskey "c">
|
||||||
|
<!ENTITY editorCmd.commandkey "4">
|
||||||
<!ENTITY addressBookCmd.label "Address Book">
|
<!ENTITY addressBookCmd.label "Address Book">
|
||||||
<!ENTITY addressBookCmd.accesskey "a">
|
<!ENTITY addressBookCmd.accesskey "a">
|
||||||
|
|
||||||
<!ENTITY toolsMenu.label "Tools">
|
<!ENTITY toolsMenu.label "Tools">
|
||||||
<!ENTITY toolsMenu.accesskey "t">
|
<!ENTITY toolsMenu.accesskey "t">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче