From 320d56356dadcf04d15fd08d3cc287b5f4f20b2f Mon Sep 17 00:00:00 2001 From: mauro-balades Date: Tue, 2 Apr 2024 21:09:35 +0200 Subject: [PATCH] Finished profile panel UI --- .gluon/command | 2 +- .gluon/patchCount | 2 +- .../base/content/global-scripts-inc.patch | 11 ++ .../base/content/webext-panels-xhtml.patch | 12 ++ .../base/content/zen-browser-box-ui.inc.xhtml | 2 +- .../base/content/zen-browser-places.js | 141 ++++++++++++++++++ .../base/content/zen-panels-ui.inc.xhtml | 17 ++- .../base/content/zen-sidebar-icons.inc.xhtml | 5 +- src/browser/base/jar-mn.patch | 6 +- .../locales/en-US/browser/appmenu-ftl.patch | 21 +++ .../themes/shared/zen-browser-shared.css | 4 + src/browser/themes/shared/zen-panel-ui.css | 101 ++++++++++++- src/browser/themes/shared/zen-sidebar.css | 15 +- .../content/createProfileWizard-js.patch | 23 --- .../profile/nsToolkitProfileService-cpp.patch | 17 ++- 15 files changed, 336 insertions(+), 43 deletions(-) create mode 100644 src/browser/base/content/global-scripts-inc.patch create mode 100644 src/browser/base/content/webext-panels-xhtml.patch create mode 100644 src/browser/base/content/zen-browser-places.js create mode 100644 src/browser/locales/en-US/browser/appmenu-ftl.patch delete mode 100644 src/toolkit/profile/content/createProfileWizard-js.patch diff --git a/.gluon/command b/.gluon/command index c795b054e..e5224d533 100644 --- a/.gluon/command +++ b/.gluon/command @@ -1 +1 @@ -build \ No newline at end of file +run \ No newline at end of file diff --git a/.gluon/patchCount b/.gluon/patchCount index 7d3738628..801f18010 100644 --- a/.gluon/patchCount +++ b/.gluon/patchCount @@ -1 +1 @@ -45 \ No newline at end of file +47 \ No newline at end of file diff --git a/src/browser/base/content/global-scripts-inc.patch b/src/browser/base/content/global-scripts-inc.patch new file mode 100644 index 000000000..3868907f6 --- /dev/null +++ b/src/browser/base/content/global-scripts-inc.patch @@ -0,0 +1,11 @@ +diff --git a/browser/base/content/global-scripts.inc b/browser/base/content/global-scripts.inc +index f5f43b8f9509c37bf217b3ed1c6c562be85430e0..c8ab55760f817aa14e3db15f6b5556118e65d218 100644 +--- a/browser/base/content/global-scripts.inc ++++ b/browser/base/content/global-scripts.inc +@@ -22,4 +22,6 @@ if (AppConstants.platform == "macosx") { + Services.scriptloader.loadSubScript("chrome://global/content/macWindowMenu.js", this); + } + ++Services.scriptloader.loadSubScript("chrome://browser/content/zen-browser-places.js", this); ++ + diff --git a/src/browser/base/content/webext-panels-xhtml.patch b/src/browser/base/content/webext-panels-xhtml.patch new file mode 100644 index 000000000..1ca708f93 --- /dev/null +++ b/src/browser/base/content/webext-panels-xhtml.patch @@ -0,0 +1,12 @@ +diff --git a/browser/base/content/webext-panels.xhtml b/browser/base/content/webext-panels.xhtml +index 902fa7e7b3edb3c9502a12e475ade016436b2490..5c6ad5f9d86cd29a12483d7cb71ce9979002f092 100644 +--- a/browser/base/content/webext-panels.xhtml ++++ b/browser/base/content/webext-panels.xhtml +@@ -16,6 +16,7 @@ +