diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobwidget.py')
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index e8549a135a..b93e9d4bc1 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py | |||
| @@ -200,8 +200,9 @@ class HobAltButton(gtk.Button): | |||
| 200 | """ | 200 | """ |
| 201 | A gtk.Button subclass which has no relief, and so is more discrete | 201 | A gtk.Button subclass which has no relief, and so is more discrete |
| 202 | """ | 202 | """ |
| 203 | def __init__(self, label=None): | 203 | def __init__(self, label): |
| 204 | gtk.Button.__init__(self, label) | 204 | gtk.Button.__init__(self, "<span color='%s'><b>%s</b></span>" % (HobColors.PALE_BLUE, gobject.markup_escape_text(label))) |
| 205 | self.child.set_use_markup(True) | ||
| 205 | self.set_relief(gtk.RELIEF_NONE) | 206 | self.set_relief(gtk.RELIEF_NONE) |
| 206 | 207 | ||
| 207 | class HobImageButton(gtk.Button): | 208 | class HobImageButton(gtk.Button): |
