Patchwork [bitbake-devel,2/3] lib/bb/ui/crumbs/hobwidget: use light text in HobIndicator

login
register
mail settings
Submitter Joshua Lock
Date April 13, 2012, 12:10 a.m.
Message ID <39d93067a6ff177add8dfe0b837556920474c0f6.1334275549.git.josh@linux.intel.com>
Download mbox | patch
Permalink /patch/25713/
State Accepted
Commit a84304ccf06a012817a5e6495d53147efcbed960
Headers show

Comments

Joshua Lock - April 13, 2012, 12:10 a.m.
Dark text on a dark background is difficult to read. Further the design
document uses white text.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 lib/bb/ui/crumbs/hobwidget.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/lib/bb/ui/crumbs/hobwidget.py b/lib/bb/ui/crumbs/hobwidget.py
index a3994c0..9beb4e6 100644
--- a/lib/bb/ui/crumbs/hobwidget.py
+++ b/lib/bb/ui/crumbs/hobwidget.py
@@ -406,7 +406,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