]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
lib/bb/ui/crumbs/hobwidget: use light text in HobIndicator
authorJoshua Lock <josh@linux.intel.com>
Thu, 12 Apr 2012 19:45:29 +0000 (19:45 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 May 2012 08:24:25 +0000 (09:24 +0100)
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>
bitbake/lib/bb/ui/crumbs/hobwidget.py

index 0419d27db148f2713e6844697a5a61284077a649..f5997e5b6bc21ae14e46e3fc06a33709d98ab56b 100644 (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