зеркало из https://github.com/mozilla/pjs.git
more on 170006 - default prefs for update checking
This commit is contained in:
Родитель
657eb38e63
Коммит
086b57ea5b
|
@ -57,7 +57,19 @@ pref("app.version",
|
|||
|
||||
pref("update.app.enabled", true);
|
||||
pref("update.extensions.enabled", true);
|
||||
// Automatically download and install updates to themes and extensions.
|
||||
pref("update.extensions.autoUpdate", false);
|
||||
pref("update.interval", 604800000); // every 7 days
|
||||
pref("update.lastUpdateDate", 0); // UTC offset when last update was performed.
|
||||
|
||||
// These prefs relate to the number and severity of updates available. This is a
|
||||
// cache that the browser notification mechanism uses to determine if it should show
|
||||
// status bar UI if updates are detected and the app is shut down before installing
|
||||
// them.
|
||||
pref("update.updatesAvailable", false);
|
||||
// 0 = low (extension/theme updates), 1 = medium (app minor version), 2 = high (major version)
|
||||
pref("update.severity", 0);
|
||||
pref("update.count", 0);
|
||||
|
||||
pref("keyword.enabled", true);
|
||||
pref("keyword.URL", "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=");
|
||||
|
|
|
@ -169,7 +169,6 @@ function checkForUpdates()
|
|||
// XXXben - check for "all types" and the app itself here.
|
||||
var em = Components.classes["@mozilla.org/extension-manager;1"]
|
||||
.getService(Components.interfaces.nsIExtensionManager);
|
||||
openDialog("chrome://mozapps/content/extensions/update.xul",
|
||||
"", "chrome,modal", "extensions", em, null);
|
||||
em.update([], 0, true);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче