Bug 335154 Get SeaMonkey's themes registering and switching with Theme Manager. Prefs update and EM/TM -> Addons update. r=KaiRo,sr=Neil

This commit is contained in:
bugzilla%standard8.demon.co.uk 2006-04-29 14:34:40 +00:00
Родитель 6e1b5ae78c
Коммит be55b36570
2 изменённых файлов: 9 добавлений и 16 удалений

Просмотреть файл

@ -8,21 +8,17 @@
<overlay id="emOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script>
function toEM(aType)
function toEM()
{
toOpenWindowByType("Extension:Manager-" + aType,
"chrome://mozapps/content/extensions/extensions.xul?type=" + aType);
toOpenWindowByType("Extension:Manager",
"chrome://mozapps/content/extensions/extensions.xul");
}
</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');"/>
<menuitem id="addonsmgr" insertafter="downloadmgr"
label="&addonsManagerCmd.label;"
accesskey="&addonsManagerCmd.accesskey;"
oncommand="toEM();"/>
</menupopup>
</overlay>

Просмотреть файл

@ -36,11 +36,8 @@
<!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 addonsManagerCmd.label "Add-on Manager">
<!ENTITY addonsManagerCmd.accesskey "A">
<!ENTITY switchProfileCmd.label "Switch Profile...">
<!ENTITY switchProfileCmd.accesskey "h">