mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -05:00
fix fuzz in all patches
This commit is contained in:
parent
a0c146cd7b
commit
5ee99b5af6
2 changed files with 7 additions and 7 deletions
|
@ -27,9 +27,9 @@ diff --git a/browser/components/moz.build b/browser/components/moz.build
|
||||||
index 71a1b85..ed3b6d1 100644
|
index 71a1b85..ed3b6d1 100644
|
||||||
--- a/browser/components/moz.build
|
--- a/browser/components/moz.build
|
||||||
+++ b/browser/components/moz.build
|
+++ b/browser/components/moz.build
|
||||||
@@ -42,7 +42,6 @@ DIRS += [
|
@@ -44,7 +44,6 @@
|
||||||
"originattributes",
|
"originattributes",
|
||||||
"ion",
|
"pagedata",
|
||||||
"places",
|
"places",
|
||||||
- "pocket",
|
- "pocket",
|
||||||
"preferences",
|
"preferences",
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
--- a/browser/components/preferences/main.js
|
--- a/browser/components/preferences/main.js
|
||||||
+++ b/browser/components/preferences/main.js
|
+++ b/browser/components/preferences/main.js
|
||||||
@@ -3737,6 +3737,7 @@ const AppearanceChooser = {
|
@@ -3713,6 +3713,7 @@
|
||||||
|
|
||||||
FORCED_COLORS_QUERY.addEventListener("change", this);
|
FORCED_COLORS_QUERY.addEventListener("change", this);
|
||||||
SYSTEM_DARK_MODE_QUERY.addEventListener("change", this);
|
|
||||||
Services.prefs.addObserver(PREF_USE_SYSTEM_COLORS, this);
|
Services.prefs.addObserver(PREF_USE_SYSTEM_COLORS, this);
|
||||||
+ Services.prefs.addObserver("privacy.resistFingerprinting", this);
|
+ Services.prefs.addObserver("privacy.resistFingerprinting", this);
|
||||||
Services.obs.addObserver(this, "look-and-feel-changed");
|
Services.obs.addObserver(this, "look-and-feel-changed");
|
||||||
this._update();
|
this._update();
|
||||||
},
|
},
|
||||||
@@ -3756,6 +3757,7 @@ const AppearanceChooser = {
|
@@ -3732,6 +3733,7 @@
|
||||||
|
|
||||||
destroy() {
|
destroy() {
|
||||||
Services.prefs.removeObserver(PREF_USE_SYSTEM_COLORS, this);
|
Services.prefs.removeObserver(PREF_USE_SYSTEM_COLORS, this);
|
||||||
+ Services.prefs.removeObserver("privacy.resistFingerprinting", this);
|
+ Services.prefs.removeObserver("privacy.resistFingerprinting", this);
|
||||||
Services.obs.removeObserver(this, "look-and-feel-changed");
|
Services.obs.removeObserver(this, "look-and-feel-changed");
|
||||||
FORCED_COLORS_QUERY.removeEventListener("change", this);
|
FORCED_COLORS_QUERY.removeEventListener("change", this);
|
||||||
SYSTEM_DARK_MODE_QUERY.removeEventListener("change", this);
|
},
|
||||||
@@ -3798,5 +3800,33 @@ const AppearanceChooser = {
|
@@ -3771,5 +3773,33 @@
|
||||||
(AppConstants.platform == "win" ||
|
(AppConstants.platform == "win" ||
|
||||||
!Services.prefs.getBoolPref(PREF_USE_SYSTEM_COLORS));
|
!Services.prefs.getBoolPref(PREF_USE_SYSTEM_COLORS));
|
||||||
this.warning.hidden = !forcingColorsAndNoColorSchemeSupport;
|
this.warning.hidden = !forcingColorsAndNoColorSchemeSupport;
|
||||||
|
|
Loading…
Reference in a new issue