2007-01-08 12:23:18 +01:00
|
|
|
Index: browser/app/profile/firefox.js
|
2008-03-26 16:01:54 +01:00
|
|
|
===================================================================
|
|
|
|
RCS file: /cvsroot/mozilla/browser/app/profile/firefox.js,v
|
2008-09-26 16:53:00 +02:00
|
|
|
retrieving revision 1.338
|
|
|
|
diff -u -p -6 -r1.338 firefox.js
|
|
|
|
--- browser/app/profile/firefox.js 21 Jul 2008 18:47:20 -0000 1.338
|
|
|
|
+++ browser/app/profile/firefox.js 15 Sep 2008 13:50:07 -0000
|
|
|
|
@@ -83,72 +83,12 @@ pref("extensions.blocklist.interval", 86
|
|
|
|
pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/2/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
|
|
|
|
pref("extensions.blocklist.detailsURL", "http://%LOCALE%.www.mozilla.com/%LOCALE%/blocklist/");
|
|
|
|
|
2007-01-08 12:23:18 +01:00
|
|
|
// Dictionary download preference
|
|
|
|
pref("browser.dictionaries.download.url", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/firefox/%VERSION%/dictionaries/");
|
|
|
|
|
|
|
|
-// App-specific update preferences
|
|
|
|
-
|
|
|
|
-// 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
|
|
|
|
-// the UI easier to construct.
|
|
|
|
-pref("app.update.auto", true);
|
|
|
|
-
|
|
|
|
-// Defines how the Application Update Service notifies the user about updates:
|
|
|
|
-//
|
|
|
|
-// AUM Set to: Minor Releases: Major Releases:
|
|
|
|
-// 0 download no prompt download no prompt
|
|
|
|
-// 1 download no prompt download no prompt if no incompatibilities
|
|
|
|
-// 2 download no prompt prompt
|
|
|
|
-//
|
|
|
|
-// See chart in nsUpdateService.js.in for more details
|
|
|
|
-//
|
|
|
|
-pref("app.update.mode", 1);
|
|
|
|
-
|
|
|
|
-// If set to true, the Update Service will present no UI for any event.
|
|
|
|
-pref("app.update.silent", false);
|
|
|
|
-
|
|
|
|
-// Update service URL:
|
2008-03-26 16:01:54 +01:00
|
|
|
-pref("app.update.url", "https://aus2.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
|
2007-01-08 12:23:18 +01:00
|
|
|
-// app.update.url.manual is in branding section
|
|
|
|
-// app.update.url.details is in branding section
|
|
|
|
-
|
|
|
|
-// User-settable override to app.update.url for testing purposes.
|
|
|
|
-//pref("app.update.url.override", "");
|
|
|
|
-
|
|
|
|
-// Interval: Time between checks for a new version (in seconds)
|
|
|
|
-// default=1 day
|
|
|
|
-pref("app.update.interval", 86400);
|
2008-03-26 16:01:54 +01:00
|
|
|
-// Interval: Time before prompting the user again to restart to install the
|
|
|
|
-// latest download (in seconds) default=1 day
|
|
|
|
-pref("app.update.nagTimer.restart", 86400);
|
2007-01-08 12:23:18 +01:00
|
|
|
-// Interval: When all registered timers should be checked (in milliseconds)
|
2008-03-26 16:01:54 +01:00
|
|
|
-// default=10 minutes
|
2007-01-08 12:23:18 +01:00
|
|
|
-pref("app.update.timer", 600000);
|
2008-03-26 16:01:54 +01:00
|
|
|
-// Give the user x seconds to react before showing the big UI. default=12 hrs
|
|
|
|
-pref("app.update.promptWaitTime", 43200);
|
|
|
|
-// Show the Update Checking/Ready UI when the user was idle for x seconds
|
|
|
|
-pref("app.update.idletime", 60);
|
2007-01-08 12:23:18 +01:00
|
|
|
-
|
|
|
|
-// Whether or not we show a dialog box informing the user that the update was
|
|
|
|
-// successfully applied. This is off in Firefox by default since we show a
|
|
|
|
-// upgrade start page instead! Other apps may wish to show this UI, and supply
|
|
|
|
-// a whatsNewURL field in their brand.properties that contains a link to a page
|
|
|
|
-// which tells users what's new in this new update.
|
|
|
|
-pref("app.update.showInstalledUI", false);
|
|
|
|
-
|
|
|
|
-// 0 = suppress prompting for incompatibilities if there are updates available
|
|
|
|
-// to newer versions of installed addons that resolve them.
|
|
|
|
-// 1 = suppress prompting for incompatibilities only if there are VersionInfo
|
|
|
|
-// updates available to installed addons that resolve them, not newer
|
|
|
|
-// versions.
|
|
|
|
-pref("app.update.incompatible.mode", 0);
|
|
|
|
-
|
|
|
|
// Symmetric (can be overridden by individual extensions) update preferences.
|
|
|
|
// e.g.
|
|
|
|
// extensions.{GUID}.update.enabled
|
2008-09-26 16:53:00 +02:00
|
|
|
// extensions.{GUID}.update.url
|
|
|
|
// extensions.{GUID}.update.interval
|
|
|
|
// .. etc ..
|
|
|
|
Index: browser/base/content/baseMenuOverlay.xul
|
|
|
|
===================================================================
|
|
|
|
RCS file: /cvsroot/mozilla/browser/base/content/baseMenuOverlay.xul,v
|
|
|
|
retrieving revision 1.21
|
|
|
|
diff -u -p -6 -r1.21 baseMenuOverlay.xul
|
|
|
|
--- browser/base/content/baseMenuOverlay.xul 6 May 2008 04:07:24 -0000 1.21
|
|
|
|
+++ browser/base/content/baseMenuOverlay.xul 15 Sep 2008 13:50:07 -0000
|
|
|
|
@@ -94,17 +94,17 @@
|
|
|
|
#endif
|
|
|
|
<menuitem id="releaseNotes"
|
|
|
|
accesskey="&helpReleaseNotes.accesskey;"
|
|
|
|
label="&helpReleaseNotes.label;"
|
|
|
|
oncommand="openReleaseNotes(event)"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
|
|
|
- <menuseparator id="updateSeparator"/>
|
|
|
|
<menuitem id="checkForUpdates"
|
|
|
|
accesskey="&updateCmd.accesskey;"
|
|
|
|
label="&updateCmd.label;"
|
|
|
|
class="menuitem-iconic"
|
|
|
|
+ hidden="true"
|
|
|
|
oncommand="checkForUpdates();"/>
|
|
|
|
<menuseparator id="aboutSeparator"/>
|
|
|
|
<menuitem id="aboutName"
|
|
|
|
accesskey="&aboutCmd.accesskey;"
|
|
|
|
label="&aboutCmd.label;"
|
|
|
|
oncommand="openAboutDialog();"/>
|
|
|
|
Index: browser/components/preferences/advanced.js
|
|
|
|
===================================================================
|
|
|
|
RCS file: /cvsroot/mozilla/browser/components/preferences/advanced.js,v
|
|
|
|
retrieving revision 1.36
|
|
|
|
diff -u -p -6 -r1.36 advanced.js
|
|
|
|
--- browser/components/preferences/advanced.js 5 Apr 2008 00:18:08 -0000 1.36
|
|
|
|
+++ browser/components/preferences/advanced.js 15 Sep 2008 13:50:07 -0000
|
|
|
|
@@ -387,12 +387,14 @@ var gAdvancedPane = {
|
|
|
|
getService(Components.interfaces.nsIApplicationUpdateService);
|
|
|
|
|
|
|
|
var enabledPref = document.getElementById("app.update.enabled");
|
|
|
|
var enableAppUpdate = document.getElementById("enableAppUpdate");
|
|
|
|
|
|
|
|
enableAppUpdate.disabled = !aus.canUpdate || enabledPref.locked;
|
|
|
|
+ enableAppUpdate.disabled = true;
|
|
|
|
+ enableAppUpdate.hidden = true;
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enables/disables UI for "when updates are found" based on the values,
|
|
|
|
* and "locked" states of associated preferences.
|
|
|
|
*/
|
2008-03-26 16:01:54 +01:00
|
|
|
Index: browser/components/safebrowsing/content/report-phishing-overlay.xul
|
|
|
|
===================================================================
|
|
|
|
RCS file: /cvsroot/mozilla/browser/components/safebrowsing/content/report-phishing-overlay.xul,v
|
2008-09-26 16:53:00 +02:00
|
|
|
retrieving revision 1.13
|
|
|
|
diff -u -p -6 -r1.13 report-phishing-overlay.xul
|
|
|
|
--- browser/components/safebrowsing/content/report-phishing-overlay.xul 15 Aug 2008 19:36:20 -0000 1.13
|
|
|
|
+++ browser/components/safebrowsing/content/report-phishing-overlay.xul 15 Sep 2008 13:50:07 -0000
|
|
|
|
@@ -56,12 +56,12 @@
|
2008-03-26 16:01:54 +01:00
|
|
|
observes="reportPhishingBroadcaster"
|
|
|
|
oncommand="openUILink(safebrowsing.getReportURL('Phish'), event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
|
|
|
<menuitem id="menu_HelpPopup_reportPhishingErrortoolmenu"
|
2008-04-03 02:56:06 +02:00
|
|
|
label="&safeb.palm.notforgery.label2;"
|
2008-09-26 16:53:00 +02:00
|
|
|
accesskey="&reportPhishSiteMenu.accesskey;"
|
|
|
|
- insertbefore="updateSeparator"
|
|
|
|
+ insertbefore="aboutSeparator"
|
|
|
|
observes="reportPhishingErrorBroadcaster"
|
|
|
|
oncommand="openUILinkIn(safebrowsing.getReportURL('Error'), 'tab');"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
|
|
|
</menupopup>
|
|
|
|
</overlay>
|