[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.1-7-g33dcbe3
Luca Bruno
lethalman88 at gmail.com
Mon Apr 13 20:48:41 UTC 2009
The following commit has been merged in the master branch:
commit c2263ec2db0a86c256dd8ad9ccb543d5b3b2d907
Author: Luca Bruno <lethalman88 at gmail.com>
Date: Thu Mar 26 22:20:10 2009 +0100
Stylize last page default button
diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 0752b02..a7aef00 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -1142,9 +1142,12 @@ class SelectOptionsPage (Page):
button.connect ('clicked', self.on_display_clicked)
buttons.append (button)
else:
- button = gtk.Button (options[menuopt.lower ()])
+ button = gtk.Button ()
+ label = gtk.Label (options[menuopt.lower ()])
+ button.add (label)
button.connect ('clicked', self.on_clicked, menuopt.lower ())
if menuopt.isupper ():
+ label.set_markup ("<b>%s</b>" % label.get_text ())
self.default = button
buttons.insert (0, gtk.HSeparator ())
buttons.insert (0, button)
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list