summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui/gui/hubs
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-11-29 17:05:15 -0500
committerChris Lumens <clumens@redhat.com>2012-12-04 10:18:58 -0500
commita5e66f33718a6f10e1b581ec62a2cd7cede7912d (patch)
treeafbb23c7e1cb44157777142035911c429a9581e9 /pyanaconda/ui/gui/hubs
parent700647eab0a52d0d242d398b536773832e4783d9 (diff)
downloadanaconda-a5e66f33718a6f10e1b581ec62a2cd7cede7912d.tar.gz
anaconda-a5e66f33718a6f10e1b581ec62a2cd7cede7912d.tar.xz
anaconda-a5e66f33718a6f10e1b581ec62a2cd7cede7912d.zip
Make sure product info and spoke titles are translated throughout.
Except on the hub, which is special and is going to need special work done for it.
Diffstat (limited to 'pyanaconda/ui/gui/hubs')
-rw-r--r--pyanaconda/ui/gui/hubs/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py
index f702fa6bc..c0df8632c 100644
--- a/pyanaconda/ui/gui/hubs/__init__.py
+++ b/pyanaconda/ui/gui/hubs/__init__.py
@@ -26,6 +26,7 @@ _ = lambda x: gettext.ldgettext("anaconda", x)
from gi.repository import GLib
from pyanaconda.flags import flags
+from pyanaconda.product import distributionText
from pyanaconda.ui import common
from pyanaconda.ui.gui import GUIObject
@@ -93,10 +94,8 @@ class Hub(GUIObject, common.Hub):
action.refresh()
- # Set various properties on the new Spoke based upon what was set
- # on the Hub.
action.window.set_beta(self.window.get_beta())
- action.window.set_property("distribution", self.window.get_property("distribution"))
+ action.window.set_property("distribution", distributionText().upper())
action.window.set_transient_for(self.window)
action.window.show_all()