summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-10-09 16:58:57 +0000
committerJeremy Katz <katzj@redhat.com>2007-10-09 16:58:57 +0000
commit0d0feb41346773305872f227d1676b51a4c9325f (patch)
treebae74e2bb8b14f37ed257afbd6ea90b569cf5f51 /iw
parent1ede1f27ac0b1e9ef04f22324bc5dd7fe9a4a473 (diff)
downloadanaconda-0d0feb41346773305872f227d1676b51a4c9325f.tar.gz
anaconda-0d0feb41346773305872f227d1676b51a4c9325f.tar.xz
anaconda-0d0feb41346773305872f227d1676b51a4c9325f.zip
2007-10-09 Jeremy Katz <katzj@redhat.com>
* iw/autopart_type.py (PartitionTypeWindow.getScreen): Make labels bold programatically rather than in the XML * ui/autopart.glade: Don't include markup in XML (#322681)
Diffstat (limited to 'iw')
-rw-r--r--iw/autopart_type.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index 7c20fc1c0..847e8a34d 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -279,6 +279,10 @@ class PartitionTypeWindow(InstallWindow):
(self.xml, vbox) = gui.getGladeWidget("autopart.glade", "parttypeBox")
+ # make some labels bold...
+ map(lambda l: l and l.set_markup("<b>%s</b>" %(l.get_text(),)),
+ map(lambda x: self.xml.get_widget(x),("selectLabel", "bootLabel")))
+
gui.widgetExpander(self.xml.get_widget("mainlabel"))
self.combo = self.xml.get_widget("partitionTypeCombo")