summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@trisquel.info>2022-09-08 20:35:27 -0400
committerRuben Rodriguez <ruben@trisquel.info>2022-09-08 20:35:27 -0400
commit34d10f8767c087221798c33410abc75d4da96c9b (patch)
tree58945bf22707600aea5057b53cd1bbc5ff5ae1a6 /data
parentc93596f6288dd4130ab6b4f3b5063c9da1eb3c98 (diff)
Add 'IceCat Settings' entry to application menus
Diffstat (limited to 'data')
-rw-r--r--data/patches/icecat-preferences.patch29
1 files changed, 28 insertions, 1 deletions
diff --git a/data/patches/icecat-preferences.patch b/data/patches/icecat-preferences.patch
index 46bfa8b..dc39a98 100644
--- a/data/patches/icecat-preferences.patch
+++ b/data/patches/icecat-preferences.patch
@@ -6,7 +6,7 @@
+<!-- IceCat-specific privacy group -->
+<groupbox id="iceCatPrivacyGroup"
-+ data-category="panePrivacy"
++ data-category="panePrivacy" data-subcategory="icecatPreferences"
+ hidden="true">
+ <label><html:h2 data-l10n-id="icecat-privacy-group-header"/></label>
+ <vbox>
@@ -184,3 +184,30 @@
// CONTENT BLOCKING
/**
+diff -ru icecat-91.13.0/browser/base/content/appmenu-viewcache.inc.xhtml icecat-91.13.0.orig/browser/base/content/appmenu-viewcache.inc.xhtml
+--- icecat-91.13.0/browser/base/content/appmenu-viewcache.inc.xhtml 2022-08-30 20:57:37.511721105 -0400
++++ icecat-91.13.0.orig/browser/base/content/appmenu-viewcache.inc.xhtml 2022-08-30 20:52:39.076545425 -0400
+@@ -336,6 +336,10 @@
+ key="key_preferencesCmdMac"
+ #endif
+ oncommand="openPreferences()"/>
++ <toolbarbutton id="appMenu-icecatsettings-button"
++ class="subviewbutton"
++ data-l10n-id="appmenuitem-icecat-settings"
++ oncommand="switchToTabHavingURI('about:preferences#privacy-icecatPreferences', true)"/>
+ <toolbarbutton id="appMenu-more-button2"
+ class="subviewbutton subviewbutton-nav"
+ data-l10n-id="appmenuitem-more-tools"
+diff -ru icecat-91.13.0.orig/browser/base/content/browser-menubar.inc icecat-91.13.0/browser/base/content/browser-menubar.inc
+--- icecat-91.13.0.orig/browser/base/content/browser-menubar.inc 2022-08-30 21:06:25.143226477 -0400
++++ icecat-91.13.0/browser/base/content/browser-menubar.inc 2022-08-30 21:06:10.103469430 -0400
+@@ -139,6 +139,9 @@
+ />
+ #endif
+ #endif
++ <menuitem id="menu_icecat_preferences"
++ oncommand="switchToTabHavingURI('about:preferences#privacy-icecatPreferences', true)"
++ data-l10n-id="appmenuitem-icecat-settings"/>
+ </menupopup>
+ </menu>
+