summaryrefslogtreecommitdiffstats
path: root/textw
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 /textw
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 'textw')
-rw-r--r--textw/task_text.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/textw/task_text.py b/textw/task_text.py
index 89e583213..f46f53ce1 100644
--- a/textw/task_text.py
+++ b/textw/task_text.py
@@ -42,7 +42,10 @@ class TaskWindow:
toplevel = GridFormHelp (screen, _("Package selection"),
"tasksel", 1, 5)
- labeltxt = _("The default installation of %s includes a set of software applicable for general internet usage. What additional tasks would you like your system to support?") %(productName,)
+ if anaconda.id.instClass.description:
+ labeltxt = anaconda.id.instClass.description
+ else:
+ labeltxt = _("The default installation of %s includes a set of software applicable for general internet usage. What additional tasks would you like your system to support?") %(productName,)
toplevel.add (TextboxReflowed(55, labeltxt), 0, 0, (0, 0, 0, 1))
ct = CheckboxTree(height = 4, scroll = (len(tasks) > 4))