lib/bb/ui/crumbs/hobwidget: use light text in HobIndicator

Dark text on a dark background is difficult to read. Further the design
document uses white text.

(Bitbake rev: a84304ccf06a012817a5e6495d53147efcbed960)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Lock
2012-04-12 19:45:29 +00:00
committed by Richard Purdie
parent 44a40f7a56
commit 9e59dea411

View File

@@ -445,7 +445,7 @@ class HobIndicator(gtk.DrawingArea):
x = (w/2)-(textw/2) + 1
y = (h/2) - (texth/2) + 1
ctx.move_to(x, y)
self.window.draw_layout(self.style.fg_gc[gtk.STATE_NORMAL], int(x), int(y), layout)
self.window.draw_layout(self.style.light_gc[gtk.STATE_NORMAL], int(x), int(y), layout)
def set_count(self, count):
self.count = count