From: Joshua Lock Date: Thu, 12 Apr 2012 19:45:29 +0000 (+0000) Subject: lib/bb/ui/crumbs/hobwidget: use light text in HobIndicator X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e59dea4111afdc0d6b5b1bb88a40785dd96e80a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index 0419d27db14..f5997e5b6bc 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py @@ -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