From patchwork Fri Apr 13 23:24:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel, 2/4] lib/bb/ui/crumbs/hobwidget: use light text in HobIndicator Date: Fri, 13 Apr 2012 23:24:08 -0000 From: Joshua Lock X-Patchwork-Id: 25783 Message-Id: To: bitbake-devel@lists.openembedded.org Dark text on a dark background is difficult to read. Further the design document uses white text. Signed-off-by: Joshua Lock --- lib/bb/ui/crumbs/hobwidget.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/bb/ui/crumbs/hobwidget.py b/lib/bb/ui/crumbs/hobwidget.py index f878263..7b6e7ae 100644 --- a/lib/bb/ui/crumbs/hobwidget.py +++ b/lib/bb/ui/crumbs/hobwidget.py @@ -429,7 +429,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