From 38e5bc74b5afa0aebbeea8f9514eecabfac30b59 Mon Sep 17 00:00:00 2001 From: "bugzilla%standard8.plus.com" Date: Sat, 19 Jan 2008 16:03:53 +0000 Subject: [PATCH] Final(?) part of Bug 408190 Make automatic updates work with SeaMonkey (AUS) - SeaMonkey UI integration and enabling. r=Neil git-svn-id: svn://10.0.0.236/trunk@243543 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/suite/browser/browser-prefs.js | 4 +- mozilla/suite/common/pref/pref-smartupdate.js | 9 +-- .../suite/common/pref/pref-smartupdate.xul | 9 +-- mozilla/suite/common/utilityOverlay.js | 69 +++++++++++++++++++ mozilla/suite/common/utilityOverlay.xul | 12 +++- .../chrome/common/pref/pref-smartupdate.dtd | 1 - .../en-US/chrome/common/utilityOverlay.dtd | 2 + .../chrome/common/utilityOverlay.properties | 17 ++++- 8 files changed, 104 insertions(+), 19 deletions(-) diff --git a/mozilla/suite/browser/browser-prefs.js b/mozilla/suite/browser/browser-prefs.js index 506b0d47cb2..ccf73723df0 100644 --- a/mozilla/suite/browser/browser-prefs.js +++ b/mozilla/suite/browser/browser-prefs.js @@ -225,8 +225,8 @@ pref("app.vendorURL", "chrome://branding/locale/brand.properties"); // App-specific update preferences -// Whether or not app updates are enabled - false initally for SeaMonkey -pref("app.update.enabled", false); +// Whether or not app updates are enabled +pref("app.update.enabled", true); // This preference turns on app.update.mode and allows automatic download and // install to take place. We use a separate boolean toggle for this to make diff --git a/mozilla/suite/common/pref/pref-smartupdate.js b/mozilla/suite/common/pref/pref-smartupdate.js index 0e794251070..31951e335f6 100644 --- a/mozilla/suite/common/pref/pref-smartupdate.js +++ b/mozilla/suite/common/pref/pref-smartupdate.js @@ -40,8 +40,7 @@ function Startup() { toggleFrequency("extensions"); - // disabled until SM updates are available - // toggleFrequency("app"); + toggleFrequency("app"); } function toggleFrequency(aType) @@ -53,9 +52,3 @@ function toggleFrequency(aType) !document.getElementById(aType + ".update.enabled").value || document.getElementById(aType + ".update.interval").locked; } - -function toEM() -{ - toOpenWindowByType("Extension:Manager", - "chrome://mozapps/content/extensions/extensions.xul"); -} diff --git a/mozilla/suite/common/pref/pref-smartupdate.xul b/mozilla/suite/common/pref/pref-smartupdate.xul index 11202a6d1bb..aefc854a4f3 100644 --- a/mozilla/suite/common/pref/pref-smartupdate.xul +++ b/mozilla/suite/common/pref/pref-smartupdate.xul @@ -83,16 +83,14 @@ - - - - @@ -111,7 +109,6 @@ - &appUpdatesDisabled.desc;