зеркало из https://github.com/mozilla/gecko-dev.git
Add em menuitems to suiterunner b=272429 r=KaiRo sr=jag
This commit is contained in:
Родитель
de0f332433
Коммит
65af67d9b0
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!DOCTYPE overlay [
|
||||
<!ENTITY % tasksDTD SYSTEM "chrome://communicator/locale/tasksOverlay.dtd">
|
||||
%tasksDTD;
|
||||
]>
|
||||
|
||||
<overlay id="emOverlay"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<script>
|
||||
function toEM(aType)
|
||||
{
|
||||
toOpenWindowByType("Extension:Manager-" + aType,
|
||||
"chrome://mozapps/content/extensions/extensions.xul?type=" + aType);
|
||||
}
|
||||
</script>
|
||||
|
||||
<menupopup id="taskPopup">
|
||||
<menuitem id="thememgr" insertafter="downloadmgr"
|
||||
label="&themeManagerCmd.label;"
|
||||
accesskey="&themeManagerCmd.accesskey;"
|
||||
oncommand="toEM('themes');"/>
|
||||
<menuitem id="extensionmgr" insertafter="downloadmgr"
|
||||
label="&extensionManagerCmd.label;"
|
||||
accesskey="&extensionManagerCmd.accesskey;"
|
||||
oncommand="toEM('extensions');"/>
|
||||
</menupopup>
|
||||
</overlay>
|
|
@ -1,7 +1,9 @@
|
|||
comm.jar:
|
||||
##ifdef MOZ_XUL_APP
|
||||
#ifdef MOZ_XUL_APP
|
||||
#% content communicator %content/communicator/ xpcnativewrappers=yes
|
||||
##else
|
||||
% overlay chrome://communicator/content/tasksOverlay.xul chrome://communicator/content/emOverlay.xul
|
||||
#else
|
||||
#* content/communicator/contents.rdf (contents.rdf)
|
||||
##endif
|
||||
#endif
|
||||
content/communicator/emOverlay.xul
|
||||
content/communicator/pref/pref-locales.xul (pref/pref-locales.xul)
|
||||
|
|
|
@ -36,5 +36,11 @@
|
|||
<!ENTITY downloadManagerCmd.label "Download Manager">
|
||||
<!ENTITY downloadManagerCmd.accesskey "D">
|
||||
|
||||
<!ENTITY extensionManagerCmd.label "Extension Manager">
|
||||
<!ENTITY extensionManagerCmd.accesskey "x">
|
||||
|
||||
<!ENTITY themeManagerCmd.label "Theme Manager">
|
||||
<!ENTITY themeManagerCmd.accesskey "m">
|
||||
|
||||
<!ENTITY switchProfileCmd.label "Switch Profile...">
|
||||
<!ENTITY switchProfileCmd.accesskey "h">
|
||||
|
|
Загрузка…
Ссылка в новой задаче