From 837557a71637af45a498e25da280459e44eda999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sun, 13 Mar 2016 17:01:24 -0300 Subject: Initial import --- ...g-in-migration-wizard-and-the-addon-manag.patch | 117 +++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 patches/icedove/fix-branding-in-migration-wizard-and-the-addon-manag.patch (limited to 'patches/icedove/fix-branding-in-migration-wizard-and-the-addon-manag.patch') diff --git a/patches/icedove/fix-branding-in-migration-wizard-and-the-addon-manag.patch b/patches/icedove/fix-branding-in-migration-wizard-and-the-addon-manag.patch new file mode 100644 index 0000000..95c4b40 --- /dev/null +++ b/patches/icedove/fix-branding-in-migration-wizard-and-the-addon-manag.patch @@ -0,0 +1,117 @@ +From: "Edward J. Shornock" +Date: Mon, 1 Feb 2010 19:16:08 +0100 +Subject: fix branding in migration wizard and the addon manager + +Replace /Thunderbird/ with /Icedove/ +Update %APP% with the respective Mozilla names so +addon-checking/installing/updating will work + +Closes: #565559 +--- + mail/app/profile/all-thunderbird.js | 28 +++++++++++----------- + .../en-US/chrome/messenger/accountCreation.dtd | 2 +- + 2 files changed, 15 insertions(+), 15 deletions(-) + +diff --git a/mail/app/profile/all-thunderbird.js b/mail/app/profile/all-thunderbird.js +index e8db9cf..d607136 100644 +--- a/mail/app/profile/all-thunderbird.js ++++ b/mail/app/profile/all-thunderbird.js +@@ -1,4 +1,3 @@ +-/* -*- Mode: JavaScript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ + /* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +@@ -120,7 +119,7 @@ pref("app.update.url", "https://aus4.mozilla.org/update/3/%PRODUCT%/%VERSION%/%B + pref("app.update.url.manual", "http://www.getthunderbird.com"); + // A default value for the "More information about this update" link + // supplied in the "An update is available" page of the update wizard. +-pref("app.update.url.details", "http://www.mozilla.org/%LOCALE%/%APP%/releases/"); ++pref("app.update.url.details", "http://www.mozilla.org/%LOCALE%/thunderbird/releases/"); + // User-settable override to app.update.url for testing purposes. + //pref("app.update.url.override", ""); + +@@ -149,7 +148,7 @@ pref("toolkit.crashreporter.infoURL", + "http://www.mozilla.org/thunderbird/legal/privacy/#crash-reporter");"); + + // Base URL for web-based support pages. +-pref("app.support.baseURL", "http://support.live.mozillamessaging.com/%LOCALE%/%APP%/%APPBUILDID%/"); ++pref("app.support.baseURL", "http://support.live.mozillamessaging.com/%LOCALE%/thunderbird/%APPBUILDID%/"); + + // Show error messages in error console. + pref("javascript.options.showInConsole", true); +@@ -178,18 +177,18 @@ pref("extensions.autoDisableScopes", 15); + // Preferences for AMO integration + pref("extensions.getAddons.cache.enabled", true); + pref("extensions.getAddons.maxResults", 15); +-pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/guid:%IDS%?src=thunderbird&appOS=%OS%&appVersion=%VERSION%"); +-pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/guid:%IDS%?src=thunderbird&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%"); +-pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/%APP%/search?q=%TERMS%"); +-pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=thunderbird"); +-pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/%APP%/discovery/pane/%VERSION%/%OS%"); ++pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/thunderbird/api/%API_VERSION%/search/guid:%IDS%?src=thunderbird&appOS=%OS%&appVersion=%VERSION%"); ++pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/thunderbird/api/%API_VERSION%/search/guid:%IDS%?src=thunderbird&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%"); ++pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/thunderbird/search?q=%TERMS%"); ++pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/thunderbird/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=thunderbird"); ++pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/thunderbird/discovery/pane/%VERSION%/%OS%"); + + // Blocklist preferences + pref("extensions.blocklist.enabled", true); + pref("extensions.blocklist.interval", 86400); + pref("extensions.blocklist.url", "https://blocklist.addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%PING_COUNT%/%TOTAL_PING_COUNT%/%DAYS_SINCE_LAST_PING%/"); +-pref("extensions.blocklist.detailsURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/"); +-pref("extensions.blocklist.itemURL", "https://blocklist.addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%"); ++pref("extensions.blocklist.detailsURL", "https://addons.mozilla.org/%LOCALE%/thunderbird/blocked/"); ++pref("extensions.blocklist.itemURL", "https://blocklist.addons.mozilla.org/%LOCALE%/thunderbird/blocked/%blockID%"); + + // Enables some extra Extension System Logging (can reduce performance) + pref("extensions.logging.enabled", false); +@@ -209,7 +208,8 @@ pref("extensions.update.background.url", "https://versioncheck-bg.addons.mozilla + pref("extensions.update.interval", 86400); // Check for updates to Extensions and + // Themes every day + +-pref("extensions.dss.enabled", false); // Dynamic Skin Switching ++pref("extensions.getMoreThemesURL", "https://addons.mozilla.org/%LOCALE%/thunderbird/themes/"); ++pref("extensions.dss.enabled", false); // Dynamic Skin Switching + pref("extensions.dss.switchPending", false); // Non-dynamic switch pending after next + + pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.name", "chrome://messenger/locale/messenger.properties"); +@@ -424,7 +424,7 @@ pref("browser.helperApps.deleteTempFileOnExit", true); + + pref("spellchecker.dictionary", ""); + // Dictionary download preference +-pref("spellchecker.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/%APP%/dictionaries/"); ++pref("spellchecker.dictionaries.download.url", "https://addons.mozilla.com/%LOCALE%/thunderbird/dictionaries/"); + + // profile.force.migration can be used to bypass the migration wizard, forcing migration from a particular + // mail application without any user intervention. Possible values are: +@@ -559,7 +559,7 @@ pref("mailnews.database.global.logging.console", true); + pref("mailnews.database.global.search.msg.limit", 1000); + + // page to load to find good header add-ons +-pref("mailnews.migration.header_addons_url","http://live.mozillamessaging.com/%APP%/addons/search?q=header&locale=%LOCALE%&lver=%VERSION%&hver=%VERSION%&os=%OS%"); ++pref("mailnews.migration.header_addons_url","http://live.mozillamessaging.com/thunderbird/addons/search?q=header&locale=%LOCALE%&lver=%VERSION%&hver=%VERSION%&os=%OS%"); + + // Serif fonts look dated. Switching those language families to sans-serif + // where we think it makes sense. Worth investigating for other font families +@@ -751,7 +751,7 @@ pref("plugins.hide_infobar_for_carbon_failure_plugin", false); + + pref("plugins.update.url", "https://www.mozilla.org/%LOCALE%/plugincheck/"); + pref("plugins.update.notifyUser", false); +-pref("plugins.crash.supportUrl", "https://live.mozillamessaging.com/%APP%/plugin-crashed?locale=%LOCALE%&version=%VERSION%&os=%OS%&buildid=%APPBUILDID%"); ++pref("plugins.crash.supportUrl", "https://live.mozillamessaging.com/thunderbird/plugin-crashed?locale=%LOCALE%&version=%VERSION%&os=%OS%&buildid=%APPBUILDID%"); + + // Click-to-play has not been ported for TB yet, see bug 814168. + // The default plugin state should be changed to "ask to activate" when this +diff --git a/mail/locales/en-US/chrome/messenger/accountCreation.dtd b/mail/locales/en-US/chrome/messenger/accountCreation.dtd +index 3a9c30c..65e6203 100644 +--- a/mail/locales/en-US/chrome/messenger/accountCreation.dtd ++++ b/mail/locales/en-US/chrome/messenger/accountCreation.dtd +@@ -78,7 +78,7 @@ + + + +- ++ + + + -- cgit v1.2.3