summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/progressbar.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/progressbar.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/progressbar.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/progressbar.py b/bitbake/lib/bb/ui/crumbs/progressbar.py
index 03230ae8a9..ba3c7a0754 100644
--- a/bitbake/lib/bb/ui/crumbs/progressbar.py
+++ b/bitbake/lib/bb/ui/crumbs/progressbar.py
@@ -28,13 +28,14 @@ class HobProgressBar (gtk.ProgressBar):
28 28
29 def set_rcstyle(self, status): 29 def set_rcstyle(self, status):
30 rcstyle = gtk.RcStyle() 30 rcstyle = gtk.RcStyle()
31 rcstyle.fg[2] = gtk.gdk.Color(HobColors.BLACK) 31#FIXME
32 if status == "stop": 32# rcstyle.fg[2] = gtk.gdk.Color(HobColors.BLACK)
33 rcstyle.bg[3] = gtk.gdk.Color(HobColors.WARNING) 33# if status == "stop":
34 elif status == "fail": 34# rcstyle.bg[3] = gtk.gdk.Color(HobColors.WARNING)
35 rcstyle.bg[3] = gtk.gdk.Color(HobColors.ERROR) 35# elif status == "fail":
36 else: 36# rcstyle.bg[3] = gtk.gdk.Color(HobColors.ERROR)
37 rcstyle.bg[3] = gtk.gdk.Color(HobColors.RUNNING) 37# else:
38# rcstyle.bg[3] = gtk.gdk.Color(HobColors.RUNNING)
38 self.modify_style(rcstyle) 39 self.modify_style(rcstyle)
39 40
40 def set_title(self, text=None): 41 def set_title(self, text=None):