summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-09-05 18:57:39 +0000
committerJeremy Katz <katzj@redhat.com>2006-09-05 18:57:39 +0000
commit17c88f0e08ab9c8ff0d7ef3277665299d1b6d495 (patch)
treeafddcacf28142d29a99073172455f2d9b7b8d22c /iw
parentbf646ccab095cfac12d44f0381cf2860bf896ad1 (diff)
downloadanaconda-17c88f0e08ab9c8ff0d7ef3277665299d1b6d495.tar.gz
anaconda-17c88f0e08ab9c8ff0d7ef3277665299d1b6d495.tar.xz
anaconda-17c88f0e08ab9c8ff0d7ef3277665299d1b6d495.zip
2006-09-05 Jeremy Katz <katzj@redhat.com>
* iw/task_gui.py (TaskWindow.getScreen): Use text from the installclass if it exists * textw/task_text.py (TaskWindow.__call__): Likewise.
Diffstat (limited to 'iw')
-rw-r--r--iw/task_gui.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/iw/task_gui.py b/iw/task_gui.py
index d302ad2e8..ef3ec4a58 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -224,8 +224,11 @@ class TaskWindow(InstallWindow):
(self.xml, vbox) = gui.getGladeWidget("tasksel.glade", "taskBox")
lbl = self.xml.get_widget("mainLabel")
- txt = lbl.get_text()
- lbl.set_text(txt %(productName,))
+ if anaconda.id.instClass.description:
+ lbl.set_text(anaconda.id.instClass.description)
+ else:
+ txt = lbl.get_text()
+ lbl.set_text(txt %(productName,))
custom = not self.dispatch.stepInSkipList("group-selection")
if custom: