63 lines
2.9 KiB
Diff
63 lines
2.9 KiB
Diff
From 853c4c8307c7427e5ee4fb57a2ffdcad1ce9d7f6 Mon Sep 17 00:00:00 2001
|
|
From: t_feng <fengtao40@huawei.com>
|
|
Date: Thu, 18 Jun 2020 22:39:12 +0800
|
|
Subject: [PATCH] make name not force to uppercase
|
|
|
|
---
|
|
pyanaconda/ui/gui/__init__.py | 4 ++--
|
|
pyanaconda/ui/gui/hubs/__init__.py | 2 +-
|
|
pyanaconda/ui/gui/spokes/welcome.py | 2 +-
|
|
3 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
|
|
index 8c20423..06373d9 100644
|
|
--- a/pyanaconda/ui/gui/__init__.py
|
|
+++ b/pyanaconda/ui/gui/__init__.py
|
|
@@ -839,7 +839,7 @@ class GraphicalUserInterface(UserInterface):
|
|
self._currentAction.refresh()
|
|
|
|
self._currentAction.window.set_beta(not self._isFinal)
|
|
- self._currentAction.window.set_property("distribution", self._distributionText().upper())
|
|
+ self._currentAction.window.set_property("distribution", self._distributionText())
|
|
|
|
# Set some program-wide settings.
|
|
settings = Gtk.Settings.get_default()
|
|
@@ -1005,7 +1005,7 @@ class GraphicalUserInterface(UserInterface):
|
|
|
|
nextAction.initialize()
|
|
nextAction.window.set_beta(self._currentAction.window.get_beta())
|
|
- nextAction.window.set_property("distribution", self._distributionText().upper())
|
|
+ nextAction.window.set_property("distribution", self._distributionText())
|
|
|
|
if not nextAction.showable:
|
|
self._currentAction.window.hide()
|
|
diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py
|
|
index 062e04e..a99e438 100644
|
|
--- a/pyanaconda/ui/gui/hubs/__init__.py
|
|
+++ b/pyanaconda/ui/gui/hubs/__init__.py
|
|
@@ -145,7 +145,7 @@ class Hub(GUIObject, common.Hub):
|
|
# From here on, this Spoke will always exist.
|
|
spoke = spokeClass(self.data, self.storage, self.payload)
|
|
spoke.window.set_beta(self.window.get_beta())
|
|
- spoke.window.set_property("distribution", distributionText().upper())
|
|
+ spoke.window.set_property("distribution", distributionText())
|
|
|
|
# If a spoke is not showable, it is unreachable in the UI. We
|
|
# might as well get rid of it.
|
|
diff --git a/pyanaconda/ui/gui/spokes/welcome.py b/pyanaconda/ui/gui/spokes/welcome.py
|
|
index 4f1bfbc..3373f1d 100644
|
|
--- a/pyanaconda/ui/gui/spokes/welcome.py
|
|
+++ b/pyanaconda/ui/gui/spokes/welcome.py
|
|
@@ -241,7 +241,7 @@ class WelcomeLanguageSpoke(StandaloneSpoke, LangLocaleHandler):
|
|
welcomeLabel = self.builder.get_object("welcomeLabel")
|
|
|
|
welcomeLabel.set_text(_("WELCOME TO %(name)s %(version)s.") %
|
|
- {"name" : productName.upper(), "version" : productVersion}) # pylint: disable=no-member
|
|
+ {"name" : productName, "version" : productVersion}) # pylint: disable=no-member
|
|
|
|
# Retranslate the language (filtering) entry's placeholder text
|
|
languageEntry = self.builder.get_object("languageEntry")
|
|
--
|
|
2.23.0
|
|
|