diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-12-17 19:52:14 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-12-17 19:52:14 +0100 |
commit | 3a978c7572277254a64476266134fdb2989ca6f2 (patch) | |
tree | 4cf4218e01d6f52b89f8439bfb036872c7dd56cf /firefox4-disable-checkupdates.patch | |
parent | 625edb59e04f800e31688b7e5bc69c8b8018748b (diff) |
firefox4-4.0-0.13.beta8.build1
Diffstat (limited to 'firefox4-disable-checkupdates.patch')
-rw-r--r-- | firefox4-disable-checkupdates.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/firefox4-disable-checkupdates.patch b/firefox4-disable-checkupdates.patch index 72b3200..e3b8c97 100644 --- a/firefox4-disable-checkupdates.patch +++ b/firefox4-disable-checkupdates.patch @@ -1,9 +1,10 @@ ---- mozilla-central/browser/base/content/utilityOverlay.js.checkupdates 2010-11-04 21:05:17.000000000 +0100 -+++ mozilla-central/browser/base/content/utilityOverlay.js 2010-11-06 10:49:40.172670752 +0100 -@@ -525,7 +525,7 @@ - +diff -up mozilla-1.9.2/browser/base/content/utilityOverlay.js.checkForUpdates mozilla-1.9.2/browser/base/content/utilityOverlay.js +--- mozilla-1.9.2/browser/base/content/utilityOverlay.js.checkForUpdates 2010-06-13 15:36:16.617677299 -0700 ++++ mozilla-1.9.2/browser/base/content/utilityOverlay.js 2010-06-13 15:39:54.485387418 -0700 +@@ -510,7 +510,7 @@ function buildHelpMenu() // Disable the UI if the update enabled pref has been locked by the // administrator or if we cannot update for some other reason + var checkForUpdates = document.getElementById("checkForUpdates"); - var canCheckForUpdates = updates.canCheckForUpdates; + var canCheckForUpdates = updates.canCheckForUpdates && updates.canApplyUpdates; checkForUpdates.setAttribute("disabled", !canCheckForUpdates); |