Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 260de1a

Browse files
committed
🚩 Add Pref to Settings
1 parent c156225 commit 260de1a

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

‎src/browser/components/preferences/main-inc-xhtml.patch‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/browser/components/preferences/main.inc.xhtml b/browser/components/preferences/main.inc.xhtml
2-
index c537a22888d420f93425e725e8817aa1cf409bfe..2c59da4c65fd69f16c7484d386e74dbb054568f7 100644
2+
index c537a22888d420f93425e725e8817aa1cf409bfe..f75dc518fec552a69a283807f1d3360975f9fede 100644
33
--- a/browser/components/preferences/main.inc.xhtml
44
+++ b/browser/components/preferences/main.inc.xhtml
5-
@@ -128,6 +128,15 @@
5+
@@ -128,6 +128,19 @@
66
<html:h1 data-l10n-id="language-and-appearance-header"/>
77
</hbox>
88

@@ -13,6 +13,10 @@ index c537a22888d420f93425e725e8817aa1cf409bfe..2c59da4c65fd69f16c7484d386e74dbb
1313
+ <checkbox id="sidebarVisible"
1414
+ preference="pulse.sidebar.enabled"
1515
+ data-l10n-id="preferences-sidebar-visible"/>
16+
+
17+
+ <checkbox id="sidebarExtensionsVisible"
18+
+ preference="pulse.sidebar.extensions.enabled"
19+
+ data-l10n-id="preferences-sidebar-extensions-visible"/>
1620
+</groupbox>
1721
+
1822
<!-- Fonts and Colors -->
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
diff --git a/browser/components/preferences/main.js b/browser/components/preferences/main.js
2-
index ceee50df3743724f1d59cebb0fec244639e65405..19ab21a02822fd94f5c9d0b32a92bb4d0762b7df 100644
2+
index ceee50df3743724f1d59cebb0fec244639e65405..8e065ec0aec2ec86ad2d51ccd828afd36cd0e212 100644
33
--- a/browser/components/preferences/main.js
44
+++ b/browser/components/preferences/main.js
5-
@@ -154,6 +154,10 @@ Preferences.addAll([
5+
@@ -154,6 +154,11 @@ Preferences.addAll([
66

77
// Media
88
{ id: "media.hardwaremediakeys.enabled", type: "bool" },
99
+
1010
+
1111
+ // Pulse browser: custom settings
12-
+ { id: 'pulse.sidebar.enabled', type: 'bool' }
12+
+ { id: 'pulse.sidebar.enabled', type: 'bool' },
13+
+ { id: 'pulse.sidebar.extensions.enabled', type: 'bool' }
1314
]);
1415

1516
if (AppConstants.HAVE_SHELL_SERVICE) {
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/browser/locales/en-US/browser/preferences/preferences.ftl b/browser/locales/en-US/browser/preferences/preferences.ftl
2-
index 498b6aaf4bc60d3caa4d6a90423fd3dfb1c48b0b..38e0e608926c9119e936be63e1a2b453d7bb6425 100644
2+
index 498b6aaf4bc60d3caa4d6a90423fd3dfb1c48b0b..bef1ecadb886bdda03217405537e8a5b66256a8f 100644
33
--- a/browser/locales/en-US/browser/preferences/preferences.ftl
44
+++ b/browser/locales/en-US/browser/preferences/preferences.ftl
5-
@@ -1364,3 +1364,8 @@ choose-download-folder-title = Choose Download Folder:
5+
@@ -1364,3 +1364,11 @@ choose-download-folder-title = Choose Download Folder:
66
# $service-name (String) - Name of a cloud storage provider like Dropbox, Google Drive, etc...
77
save-files-to-cloud-storage =
88
.label = Save files to { $service-name }
@@ -11,3 +11,6 @@ index 498b6aaf4bc60d3caa4d6a90423fd3dfb1c48b0b..38e0e608926c9119e936be63e1a2b453
1111
+preferences-sidebar-header = Sidebar
1212
+preferences-sidebar-visible =
1313
+ .label = Show sidebar tabs
14+
+
15+
+preferences-sidebar-extensions-visible =
16+
+ .label = Show available extensions on the sidebar

0 commit comments

Comments
 (0)