Adapt welcome dialog title

Resolves: #2013989
This commit is contained in:
Florian Müllner 2021-10-27 15:19:54 +02:00
parent 291b4f917b
commit c69e063145
2 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,35 @@
From c0884932df4799cc0c366d847a493e935f6bb83a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
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

View File

@ -2,7 +2,7 @@
Name: gnome-shell Name: gnome-shell
Version: 40.4 Version: 40.4
Release: 4%{?dist} Release: 5%{?dist}
Summary: Window management and application launching for GNOME Summary: Window management and application launching for GNOME
License: GPLv2+ License: GPLv2+
@ -34,6 +34,7 @@ Patch36: 0001-st-texture-cache-purge-on-resume.patch
Patch37: 0001-Update-generated-stylesheets.patch Patch37: 0001-Update-generated-stylesheets.patch
Patch38: add-power-profiles-menu.patch Patch38: add-power-profiles-menu.patch
Patch39: 0001-status-network-Use-wwan-settings-panel-for-GSM-LTE-M.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 eds_version 3.33.1
%define gnome_desktop_version 3.35.91 %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* %{_mandir}/man1/gnome-shell.1*
%changelog %changelog
* Wed Oct 27 2021 Florian Müllner <fmuellner@redhat.com> - 40.4-5
- Adapt welcome dialog title
Resolves: #2013989
* Wed Oct 13 2021 Ray Strode <rstrode@redhat.com> - 40.4-4 * Wed Oct 13 2021 Ray Strode <rstrode@redhat.com> - 40.4-4
- Ensure extensions are reenabled after unlock - Ensure extensions are reenabled after unlock
Resolves: #2013801 Resolves: #2013801