Add em menuitems to suiterunner b=272429 r=KaiRo sr=jag
git-svn-id: svn://10.0.0.236/trunk@195199 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9feef65243
commit
8392f8babd
28
mozilla/suite/common/emOverlay.xul
Normal file
28
mozilla/suite/common/emOverlay.xul
Normal file
@ -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">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user