File seamonkey-no-update.patch of Package seamonkey

diff --git a/suite/common/utilityOverlay.js b/suite/common/utilityOverlay.js
--- a/suite/common/utilityOverlay.js
+++ b/suite/common/utilityOverlay.js
@@ -666,17 +666,23 @@ function updateCheckUpdatesItem()
                           .getService(Components.interfaces.nsIApplicationUpdateService2);
   var um = Components.classes["@mozilla.org/updates/update-manager;1"]
                      .getService(Components.interfaces.nsIUpdateManager);
 
   // 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 prefs = Components.classes["@mozilla.org/preferences-service;1"]
+                        .getService(Components.interfaces.nsIPrefBranch);
+  var updateEnabled = prefs.getBoolPref("app.update.enabled", true);
   checkForUpdates.setAttribute("disabled", !canCheckForUpdates);
+  checkForUpdates.setAttribute("hidden", !canCheckForUpdates || !updateEnabled);
+  var updateSeparator = document.getElementById("menu_HelpUpdatesSeparator");
+  updateSeparator.setAttribute("hidden", !canCheckForUpdates || !updateEnabled);
   if (!canCheckForUpdates)
     return;
 
   // By default, show "Check for Updates..."
   var key = "default";
   if (um.activeUpdate) {
     switch (um.activeUpdate.state) {
     case "downloading":
openSUSE Build Service is sponsored by