Commit 53f1a2cf authored by Kathleen Brade's avatar Kathleen Brade
Browse files

Bug 15984: disabling Torbutton breaks the Add-ons manager

Overlay the about:addons page to avoid a direct dependency
on entities that are defined in Torbutton.
parent ad46a7c9
......@@ -3,6 +3,8 @@ overlay chrome://browser/content/browser.xul chrome://torbutton/content/torbutto
overlay chrome://browser/content/preferences/connection.xul chrome://torbutton/content/pref-connection.xul
overlay chrome://messenger/content/messenger.xul chrome://torbutton/content/torbutton_tb.xul
overlay chrome://messenger/content/messengercompose/messengercompose.xul chrome://torbutton/content/torbutton_tb.xul
overlay about:addons chrome://torbutton/content/torbutton-extensions.xul
overlay chrome://mozapps/content/extensions/extensions.xul chrome://torbutton/content/torbutton-extensions.xul
resource torbutton ./
# browser branding
......
<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://torbutton/locale/brand.dtd">
<overlay id="torbutton-extensions-overlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<vbox id="plugin-enable-button" class="alert-container" flex="1"
hidden="true">
<spacer class="alert-spacer-before"/>
<vbox class="alert">
<label value="&plugins.installed.find;"/>
<button class="button-plugin-enable"
label="&plugins.installed.enable;"
command="cmd_pluginEnable"/>
</vbox>
<spacer class="alert-spacer-after"/>
</vbox>
<vbox id="plugin-disable-button" class="global-info" flex="1" align="end">
<button class="button-plugin-disable"
label="&plugins.installed.disable;"
tooltiptext="&plugins.installed.disable.tip;"
command="cmd_pluginDisable"/>
<spacer flex="5000"/>
</vbox>
</overlay>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment