Do not hardcode OS name in welcome dialog
It is odd to be welcomed to RHEL on CentOS ... Resolves: #2044040
This commit is contained in:
parent
148ed4138c
commit
5fd1d7bc0b
@ -1,20 +1,23 @@
|
|||||||
From 5033596c01e1d8fcdc9bd64a575a44f423b1ac51 Mon Sep 17 00:00:00 2001
|
From 79049292451b9bb23ad92c572a438585ca37246b Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
Date: Wed, 27 Oct 2021 15:18:20 +0200
|
Date: Wed, 27 Oct 2021 15:18:20 +0200
|
||||||
Subject: [PATCH] welcomeDialog: Adapt dialog title
|
Subject: [PATCH] welcomeDialog: Adapt dialog title
|
||||||
|
|
||||||
Use RHEL branding instead of the upstream GNOME XX one.
|
Use RHEL branding instead of the upstream GNOME XX one.
|
||||||
---
|
---
|
||||||
js/ui/welcomeDialog.js | 4 +---
|
js/ui/welcomeDialog.js | 6 ++----
|
||||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
diff --git a/js/ui/welcomeDialog.js b/js/ui/welcomeDialog.js
|
diff --git a/js/ui/welcomeDialog.js b/js/ui/welcomeDialog.js
|
||||||
index 9d99f0035..17e2a277c 100644
|
index 9d99f0035..783fd1108 100644
|
||||||
--- a/js/ui/welcomeDialog.js
|
--- a/js/ui/welcomeDialog.js
|
||||||
+++ b/js/ui/welcomeDialog.js
|
+++ b/js/ui/welcomeDialog.js
|
||||||
@@ -3,7 +3,6 @@
|
@@ -1,9 +1,8 @@
|
||||||
|
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||||
|
/* exported WelcomeDialog */
|
||||||
|
|
||||||
const { Clutter, GObject, Shell, St } = imports.gi;
|
-const { Clutter, GObject, Shell, St } = imports.gi;
|
||||||
|
+const { Clutter, GLib, GObject, Shell, St } = imports.gi;
|
||||||
|
|
||||||
-const Config = imports.misc.config;
|
-const Config = imports.misc.config;
|
||||||
const Dialog = imports.ui.dialog;
|
const Dialog = imports.ui.dialog;
|
||||||
@ -26,10 +29,10 @@ index 9d99f0035..17e2a277c 100644
|
|||||||
_buildLayout() {
|
_buildLayout() {
|
||||||
- const [majorVersion] = Config.PACKAGE_VERSION.split('.');
|
- const [majorVersion] = Config.PACKAGE_VERSION.split('.');
|
||||||
- const title = _('Welcome to GNOME %s').format(majorVersion);
|
- const title = _('Welcome to GNOME %s').format(majorVersion);
|
||||||
+ const title = _('Welcome to Red Hat Enterprise Linux');
|
+ const title = _('Welcome to %s').format(GLib.get_os_info('NAME'));
|
||||||
const description = _('If you want to learn your way around, check out the tour.');
|
const description = _('If you want to learn your way around, check out the tour.');
|
||||||
const content = new Dialog.MessageDialogContent({ title, description });
|
const content = new Dialog.MessageDialogContent({ title, description });
|
||||||
|
|
||||||
--
|
--
|
||||||
2.32.0
|
2.33.1
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: gnome-shell
|
Name: gnome-shell
|
||||||
Version: 40.8
|
Version: 40.8
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Window management and application launching for GNOME
|
Summary: Window management and application launching for GNOME
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -254,6 +254,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de
|
|||||||
%{_mandir}/man1/gnome-shell.1*
|
%{_mandir}/man1/gnome-shell.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 27 2022 Florian Müllner <fmuellner@redhat.com> - 40.8-2
|
||||||
|
- Do not hardcode OS name in welcome dialog
|
||||||
|
Resolves: #2044040
|
||||||
|
|
||||||
* Mon Jan 17 2022 Florian Müllner <fmuellner@redhat.com> - 40.8-1
|
* Mon Jan 17 2022 Florian Müllner <fmuellner@redhat.com> - 40.8-1
|
||||||
- Update to 40.8
|
- Update to 40.8
|
||||||
Resolves: #2040061
|
Resolves: #2040061
|
||||||
|
Loading…
Reference in New Issue
Block a user