summaryrefslogtreecommitdiffstats
path: root/firefox-disable-checkupdates.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-06-24 18:31:16 +0200
committerRemi Collet <fedora@famillecollet.com>2010-06-24 18:31:16 +0200
commitab690733cde666d5264bedadd09138e5f9edddff (patch)
tree108d73204602116e4f2a21fad75f16143f5bb234 /firefox-disable-checkupdates.patch
parent1633d4eb4f96c5832ac3577294ff02bdbc9f163d (diff)
firefox: latest patches from rawhide
Diffstat (limited to 'firefox-disable-checkupdates.patch')
-rw-r--r--firefox-disable-checkupdates.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/firefox-disable-checkupdates.patch b/firefox-disable-checkupdates.patch
new file mode 100644
index 0000000..e3b8c97
--- /dev/null
+++ b/firefox-disable-checkupdates.patch
@@ -0,0 +1,12 @@
+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);
+ if (!canCheckForUpdates)
+ return;