Bug 513164 - Remove "Manage Addons" from Preferences UI; r=gavin

This commit is contained in:
Javi Rueda 2012-08-27 12:45:48 -04:00
parent 6ba661637a
commit 675a43db45
5 changed files with 0 additions and 57 deletions

View File

@ -439,14 +439,6 @@ var gMainPane = {
}
},
/**
* Displays the Add-ons Manager.
*/
showAddonsMgr: function ()
{
openUILinkIn("about:addons", "tab");
},
/**
* Hide/show the "Show my windows and tabs from last time" option based
* on the value of the browser.privatebrowsing.autostart pref.

View File

@ -166,22 +166,3 @@
accesskey="&alwaysAsk.accesskey;"/>
</radiogroup>
</groupbox>
<hbox class="bottomBox" data-category="paneGeneral" hidden="true">
<groupbox id="addonsMgrGroup"
orient="horizontal"
flex="1">
<caption label="&addonsMgr.label;"/>
<description control="manageAddons"
#ifdef XP_WIN
flex="1">&manageAddonsDescWin.label;</description>
#else
flex="1">&manageAddonsDescUnix2.label;</description>
#endif
<button id="manageAddons"
label="&manageAddons.label;"
accesskey="&manageAddons.accesskey;"
oncommand="gMainPane.showAddonsMgr();"/>
</groupbox>
</hbox>

View File

@ -436,14 +436,6 @@ var gMainPane = {
}
},
/**
* Displays the Add-ons Manager.
*/
showAddonsMgr: function ()
{
openUILinkIn("about:addons", "window");
},
/**
* Hide/show the "Show my windows and tabs from last time" option based
* on the value of the browser.privatebrowsing.autostart pref.

View File

@ -158,22 +158,6 @@
</radiogroup>
</groupbox>
<hbox class="bottomBox">
<groupbox id="addonsMgrGroup" orient="horizontal" flex="1">
<caption label="&addonsMgr.label;"/>
<description control="manageAddons"
#ifdef XP_WIN
flex="1">&manageAddonsDescWin.label;</description>
#else
flex="1">&manageAddonsDescUnix2.label;</description>
#endif
<button id="manageAddons" label="&manageAddons.label;"
accesskey="&manageAddons.accesskey;"
oncommand="gMainPane.showAddonsMgr();"/>
</groupbox>
</hbox>
</prefpane>
</overlay>

View File

@ -34,9 +34,3 @@
<!ENTITY chooseFolderMac.accesskey "e">
<!ENTITY alwaysAsk.label "Always ask me where to save files">
<!ENTITY alwaysAsk.accesskey "A">
<!ENTITY addonsMgr.label "Add-ons">
<!ENTITY manageAddonsDescWin.label "Change options for your add-ons">
<!ENTITY manageAddonsDescUnix2.label "Change preferences for your add-ons">
<!ENTITY manageAddons.label "Manage Add-ons…">
<!ENTITY manageAddons.accesskey "M">