From 753cb111294a3de8d23ad89f5c7e3755841000da Mon Sep 17 00:00:00 2001 From: "rob_strong%exchangecode.com" Date: Wed, 24 Aug 2005 21:07:25 +0000 Subject: [PATCH] Bug 305361 install-global-extension and install-global-theme work inconsistently. r=mconner, a=asa --- browser/components/preferences/advanced.js | 18 ------------------ browser/components/preferences/advanced.xul | 4 ---- .../chrome/browser/preferences/advanced.dtd | 1 - 3 files changed, 23 deletions(-) diff --git a/browser/components/preferences/advanced.js b/browser/components/preferences/advanced.js index 5064023afe54..52f34ee63945 100644 --- a/browser/components/preferences/advanced.js +++ b/browser/components/preferences/advanced.js @@ -199,24 +199,6 @@ var gAdvancedPane = { return !warnIncompatible.checked ? 0 : gAdvancedPane._modePreference; }, - checkForAddonUpdates: function () - { - var wm = - Components.classes["@mozilla.org/appshell/window-mediator;1"]. - getService(Components.interfaces.nsIWindowMediator); - var manager = wm.getMostRecentWindow("Extension:Manager-extensions"); - if (!manager) { - const features = "chrome,dialog=no,resizable"; - const URI_EXTENSIONS_WINDOW = - "chrome://mozapps/content/extensions/extensions.xul?type=extensions"; - openDialog(URI_EXTENSIONS_WINDOW, "", features, "updatecheck"); - } - else { - manager.performUpdate(); - manager.focus(); - } - }, - checkForUpdates: function () { var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"] diff --git a/browser/components/preferences/advanced.xul b/browser/components/preferences/advanced.xul index 45aa65d5d248..72d95925cbfb 100644 --- a/browser/components/preferences/advanced.xul +++ b/browser/components/preferences/advanced.xul @@ -157,10 +157,6 @@ label="&enableExtensionUpdate.label;" accesskey="&enableExtensionUpdate.accesskey;" preference="extensions.update.enabled"/> - -