diff options
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobcolor.py | 1 | ||||
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobcolor.py b/bitbake/lib/bb/ui/crumbs/hobcolor.py index f767d22cba..4595dc18e9 100644 --- a/bitbake/lib/bb/ui/crumbs/hobcolor.py +++ b/bitbake/lib/bb/ui/crumbs/hobcolor.py | |||
| @@ -31,6 +31,7 @@ class HobColors: | |||
| 31 | BLACK = "#000000" | 31 | BLACK = "#000000" |
| 32 | LIGHT_ORANGE = "#f7a787" | 32 | LIGHT_ORANGE = "#f7a787" |
| 33 | YELLOW = "#ffff00" | 33 | YELLOW = "#ffff00" |
| 34 | PALE_BLUE = "#53b8ff" | ||
| 34 | 35 | ||
| 35 | OK = WHITE | 36 | OK = WHITE |
| 36 | RUNNING = PALE_GREEN | 37 | RUNNING = PALE_GREEN |
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): |
