diff --git a/0001-panel-Use-branding-in-activities-button.patch b/0001-panel-Use-branding-in-activities-button.patch index 7fcdf29..6946e5e 100644 --- a/0001-panel-Use-branding-in-activities-button.patch +++ b/0001-panel-Use-branding-in-activities-button.patch @@ -1,111 +1,14 @@ -From b6a083225890bfd1ecf870ce051f12943cedf7e7 Mon Sep 17 00:00:00 2001 +From 376722b0500dcceb04785838b0bb4508da4f1944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 22 May 2024 18:42:06 +0200 Subject: [PATCH] panel: Use branding in activities button Replace the upstream workspace dots with a red hat. --- - data/gnome-shell-icons.gresource.xml | 1 + - data/icons/scalable/actions/rh-logo.svg | 76 +++++++++++++++++++ - .../gnome-shell-sass/widgets/_panel.scss | 5 ++ - js/ui/panel.js | 6 +- - 4 files changed, 87 insertions(+), 1 deletion(-) - create mode 100644 data/icons/scalable/actions/rh-logo.svg + data/theme/gnome-shell-sass/widgets/_panel.scss | 5 +++++ + js/ui/panel.js | 10 +++++++++- + 2 files changed, 14 insertions(+), 1 deletion(-) -diff --git a/data/gnome-shell-icons.gresource.xml b/data/gnome-shell-icons.gresource.xml -index db65673b41..e6c49ae343 100644 ---- a/data/gnome-shell-icons.gresource.xml -+++ b/data/gnome-shell-icons.gresource.xml -@@ -15,6 +15,7 @@ - scalable/actions/pointer-secondary-click-symbolic.svg - scalable/actions/preview-close-symbolic.svg - scalable/actions/record-screen-symbolic.svg -+ scalable/actions/rh-logo.svg - scalable/actions/screencast-recorded-symbolic.svg - scalable/actions/screencast-stop-symbolic.svg - scalable/actions/screenshooter-symbolic.svg -diff --git a/data/icons/scalable/actions/rh-logo.svg b/data/icons/scalable/actions/rh-logo.svg -new file mode 100644 -index 0000000000..e1330557c5 ---- /dev/null -+++ b/data/icons/scalable/actions/rh-logo.svg -@@ -0,0 +1,76 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ RedHat-Logo-Hat-Color -+ -+ -+ -+ -+ -+ -+ -+ RedHat-Logo-Hat-Color -+ -+ -+ -+ diff --git a/data/theme/gnome-shell-sass/widgets/_panel.scss b/data/theme/gnome-shell-sass/widgets/_panel.scss index 2a29eee9da..02f8232de6 100644 --- a/data/theme/gnome-shell-sass/widgets/_panel.scss @@ -123,22 +26,26 @@ index 2a29eee9da..02f8232de6 100644 // screen activity indicators diff --git a/js/ui/panel.js b/js/ui/panel.js -index 62c8ebb31a..4fa094bd93 100644 +index 62c8ebb31a..1d11cc1b5f 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js -@@ -425,7 +425,11 @@ class ActivitiesButton extends PanelMenu.Button { +@@ -425,7 +425,15 @@ class ActivitiesButton extends PanelMenu.Button { accessible_name: _('Activities'), }); - this.add_child(new WorkspaceIndicators()); -+ const logoIcon = new St.Icon({ -+ icon_name: 'rh-logo', -+ style_class: 'activities-logo', -+ }); -+ this.add_child(logoIcon); ++ if (GLib.get_os_info('ID') === 'rhel') { ++ const logoIcon = new St.Icon({ ++ icon_name: 'fedora-logo-icon', ++ style_class: 'activities-logo', ++ }); ++ this.add_child(logoIcon); ++ } else { ++ this.add_child(new WorkspaceIndicators()); ++ } Main.overview.connectObject('showing', () => this.add_style_pseudo_class('checked'), -- -2.45.1 +2.45.2