summaryrefslogtreecommitdiff
path: root/firefox-8.0-enable-addons.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@anakreon.cz>2011-11-15 11:00:28 +0100
committerMartin Stransky <stransky@anakreon.cz>2011-11-15 11:00:28 +0100
commit126d848301e52364e1555caf660033eff046d1dc (patch)
tree5410b82a8ffc8f33ef29a8c8c24049bcdfa32f03 /firefox-8.0-enable-addons.patch
parentTemporary workaround for langpacks (#753551) (diff)
downloadlibrewolf-fedora-ff-126d848301e52364e1555caf660033eff046d1dc.tar.gz
librewolf-fedora-ff-126d848301e52364e1555caf660033eff046d1dc.tar.bz2
librewolf-fedora-ff-126d848301e52364e1555caf660033eff046d1dc.zip
Disabled addon check UI (#753551)
Diffstat (limited to 'firefox-8.0-enable-addons.patch')
-rw-r--r--firefox-8.0-enable-addons.patch20
1 files changed, 17 insertions, 3 deletions
diff --git a/firefox-8.0-enable-addons.patch b/firefox-8.0-enable-addons.patch
index ae847f8..795b082 100644
--- a/firefox-8.0-enable-addons.patch
+++ b/firefox-8.0-enable-addons.patch
@@ -1,6 +1,6 @@
-diff -up firefox-8.0/mozilla-release/browser/app/profile/firefox.js.old firefox-8.0/mozilla-release/browser/app/profile/firefox.js
---- firefox-8.0/mozilla-release/browser/app/profile/firefox.js.old 2011-11-04 22:33:52.000000000 +0100
-+++ firefox-8.0/mozilla-release/browser/app/profile/firefox.js 2011-11-14 23:21:49.841058452 +0100
+diff -up firefox-8.0/mozilla-release/browser/app/profile/firefox.js.addons firefox-8.0/mozilla-release/browser/app/profile/firefox.js
+--- firefox-8.0/mozilla-release/browser/app/profile/firefox.js.addons 2011-11-04 22:33:52.000000000 +0100
++++ firefox-8.0/mozilla-release/browser/app/profile/firefox.js 2011-11-15 10:35:31.446869396 +0100
@@ -77,7 +77,7 @@ pref("extensions.update.autoUpdateDefaul
// Disable add-ons installed into the shared user and shared system areas by
// default. This does not include the application directory. See the SCOPE
@@ -10,3 +10,17 @@ diff -up firefox-8.0/mozilla-release/browser/app/profile/firefox.js.old firefox-
// Dictionary download preference
pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/");
+diff -up firefox-8.0/mozilla-release/toolkit/mozapps/extensions/XPIProvider.jsm.addons firefox-8.0/mozilla-release/toolkit/mozapps/extensions/XPIProvider.jsm
+--- firefox-8.0/mozilla-release/toolkit/mozapps/extensions/XPIProvider.jsm.addons 2011-11-04 22:34:18.000000000 +0100
++++ firefox-8.0/mozilla-release/toolkit/mozapps/extensions/XPIProvider.jsm 2011-11-15 10:42:17.866426274 +0100
+@@ -1591,8 +1591,8 @@ var XPIProvider = {
+ this.showUpgradeUI();
+ flushCaches = true;
+ }
+- else if (aAppChanged === undefined) {
+- // For new profiles we will never need to show the add-on selection UI
++ else {
++ // For all profiles we will never need to show the add-on selection UI
+ Services.prefs.setBoolPref(PREF_SHOWN_SELECTION_UI, true);
+ }
+
bgstack15