From 4c3c3e64a0e7de269572cc8a8edfd53783028675 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Thu, 24 Jun 2010 10:51:03 +0000 Subject: - Fixed rhbz#531159 - disable firefox default browser check - Disabled automatic updates --- firefox-disable-checkupdates.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 firefox-disable-checkupdates.patch (limited to 'firefox-disable-checkupdates.patch') 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; -- cgit