From c69e063145620ef15ccc749f8a46820e299472a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 27 Oct 2021 15:19:54 +0200 Subject: [PATCH] Adapt welcome dialog title Resolves: #2013989 --- 0001-welcomeDialog-Adapt-dialog-title.patch | 35 +++++++++++++++++++++ gnome-shell.spec | 7 ++++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 0001-welcomeDialog-Adapt-dialog-title.patch diff --git a/0001-welcomeDialog-Adapt-dialog-title.patch b/0001-welcomeDialog-Adapt-dialog-title.patch new file mode 100644 index 0000000..ccba04a --- /dev/null +++ b/0001-welcomeDialog-Adapt-dialog-title.patch @@ -0,0 +1,35 @@ +From c0884932df4799cc0c366d847a493e935f6bb83a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Florian=20M=C3=BCllner?= +Date: Wed, 27 Oct 2021 15:18:20 +0200 +Subject: [PATCH] welcomeDialog: Adapt dialog title + +Use RHEL branding instead of the upstream GNOME XX one. +--- + js/ui/welcomeDialog.js | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/js/ui/welcomeDialog.js b/js/ui/welcomeDialog.js +index cf6540fe2..17e2a277c 100644 +--- a/js/ui/welcomeDialog.js ++++ b/js/ui/welcomeDialog.js +@@ -3,7 +3,6 @@ + + const { Clutter, GObject, Shell, St } = imports.gi; + +-const Config = imports.misc.config; + const Dialog = imports.ui.dialog; + const Main = imports.ui.main; + const ModalDialog = imports.ui.modalDialog; +@@ -32,8 +31,7 @@ class WelcomeDialog extends ModalDialog.ModalDialog { + } + + _buildLayout() { +- const [majorVersion] = Config.PACKAGE_VERSION.split('.'); +- const title = _('Welcome to GNOME %s'.format(majorVersion)); ++ const title = _('Welcome to Red Hat Enterprise Linux'); + const description = _('If you want to learn your way around, check out the tour.'); + const content = new Dialog.MessageDialogContent({ title, description }); + +-- +2.32.0 + diff --git a/gnome-shell.spec b/gnome-shell.spec index be98b6b..5fa62bc 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -2,7 +2,7 @@ Name: gnome-shell Version: 40.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Window management and application launching for GNOME License: GPLv2+ @@ -34,6 +34,7 @@ Patch36: 0001-st-texture-cache-purge-on-resume.patch Patch37: 0001-Update-generated-stylesheets.patch Patch38: add-power-profiles-menu.patch Patch39: 0001-status-network-Use-wwan-settings-panel-for-GSM-LTE-M.patch +Patch40: 0001-welcomeDialog-Adapt-dialog-title.patch %define eds_version 3.33.1 %define gnome_desktop_version 3.35.91 @@ -252,6 +253,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de %{_mandir}/man1/gnome-shell.1* %changelog +* Wed Oct 27 2021 Florian Müllner - 40.4-5 +- Adapt welcome dialog title + Resolves: #2013989 + * Wed Oct 13 2021 Ray Strode - 40.4-4 - Ensure extensions are reenabled after unlock Resolves: #2013801