diff options
author | Martin Stransky <stransky@redhat.com> | 2018-09-26 14:07:12 +0200 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2018-09-26 14:07:12 +0200 |
commit | b7acc1e2392bb6df7839ae49565258dfb777a47d (patch) | |
tree | 53361e973474a693f6c5388a54b5c3decb62474c /mozilla-1005640-accept-lang.patch | |
parent | Disable workaround for mozbz#1342344 - GFX glitches when building with -O3/gc... (diff) | |
download | librewolf-fedora-ff-b7acc1e2392bb6df7839ae49565258dfb777a47d.tar.gz librewolf-fedora-ff-b7acc1e2392bb6df7839ae49565258dfb777a47d.tar.bz2 librewolf-fedora-ff-b7acc1e2392bb6df7839ae49565258dfb777a47d.zip |
Enabled DBus remote for all Gtk+ backends, Removed obsoleted patches
Diffstat (limited to 'mozilla-1005640-accept-lang.patch')
-rw-r--r-- | mozilla-1005640-accept-lang.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/mozilla-1005640-accept-lang.patch b/mozilla-1005640-accept-lang.patch deleted file mode 100644 index 29d3833..0000000 --- a/mozilla-1005640-accept-lang.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -up firefox-51.0/toolkit/mozapps/extensions/internal/XPIProvider.jsm.1005640-accept-lang firefox-51.0/toolkit/mozapps/extensions/internal/XPIProvider.jsm ---- firefox-51.0/toolkit/mozapps/extensions/internal/XPIProvider.jsm.1005640-accept-lang 2017-01-16 17:16:52.000000000 +0100 -+++ firefox-51.0/toolkit/mozapps/extensions/internal/XPIProvider.jsm 2017-01-18 12:35:29.380394216 +0100 -@@ -2852,6 +2852,11 @@ this.XPIProvider = { - this.addAddonsToCrashReporter(); - } - -+ // Save locale settings to compare it later to check whenever some addon -+ // changed it. -+ var previousLocale = Cc["@mozilla.org/chrome/chrome-registry;1"] -+ .getService(Ci.nsIXULChromeRegistry).getSelectedLocale("global"); -+ - try { - AddonManagerPrivate.recordTimestamp("XPI_bootstrap_addons_begin"); - -@@ -2880,6 +2885,14 @@ this.XPIProvider = { - AddonManagerPrivate.recordException("XPI-BOOTSTRAP", "startup failed", e); - } - -+ var currentLocale = Cc["@mozilla.org/chrome/chrome-registry;1"] -+ .getService(Ci.nsIXULChromeRegistry).getSelectedLocale("global"); -+ if (currentLocale != previousLocale) { -+ // We have to flush string cache if the locale was changed during loading -+ // of addons -+ Services.obs.notifyObservers(null, "chrome-flush-caches", null); -+ } -+ - // Let these shutdown a little earlier when they still have access to most - // of XPCOM - Services.obs.addObserver({ |