From 17c88f0e08ab9c8ff0d7ef3277665299d1b6d495 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Tue, 5 Sep 2006 18:57:39 +0000 Subject: 2006-09-05 Jeremy Katz * iw/task_gui.py (TaskWindow.getScreen): Use text from the installclass if it exists * textw/task_text.py (TaskWindow.__call__): Likewise. --- iw/task_gui.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'iw') 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: -- cgit