summaryrefslogtreecommitdiff
path: root/remove-snippets-from-home.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-03-24 10:51:40 -0400
committerB. Stack <bgstack15@gmail.com>2022-03-24 10:51:40 -0400
commit630002c8b3fc4c93cbf7d326eec3d0c4b18639a3 (patch)
tree456d58a02c5d3064a206b424fe8f9b57365d17a5 /remove-snippets-from-home.patch
parentAdded 0001-GLIBCXX-fix-for-GCC-12.patch back due to gcc failure (diff)
downloadlibrewolf-fedora-ff-630002c8b3fc4c93cbf7d326eec3d0c4b18639a3.tar.gz
librewolf-fedora-ff-630002c8b3fc4c93cbf7d326eec3d0c4b18639a3.tar.bz2
librewolf-fedora-ff-630002c8b3fc4c93cbf7d326eec3d0c4b18639a3.zip
98.0 attempt 1
Diffstat (limited to 'remove-snippets-from-home.patch')
-rw-r--r--remove-snippets-from-home.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/remove-snippets-from-home.patch b/remove-snippets-from-home.patch
new file mode 100644
index 0000000..4bd88ca
--- /dev/null
+++ b/remove-snippets-from-home.patch
@@ -0,0 +1,22 @@
+--- a/browser/components/newtab/lib/AboutPreferences.jsm
++++ b/browser/components/newtab/lib/AboutPreferences.jsm
+@@ -54,18 +54,7 @@
+ },
+ ];
+
+-const PREFS_AFTER_SECTIONS = () => [
+- {
+- id: "snippets",
+- pref: {
+- feed: "feeds.snippets",
+- titleString: "home-prefs-snippets-header",
+- descString: "home-prefs-snippets-description-new",
+- },
+- icon: "chrome://global/skin/icons/info.svg",
+- eventSource: "SNIPPETS",
+- },
+-];
++const PREFS_AFTER_SECTIONS = () => [];
+
+ this.AboutPreferences = class AboutPreferences {
+ init() {
bgstack15