diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 12:56:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 23:32:40 +0100 |
commit | 31e34f26df41be7ebe3e1d60fd0be6b088261e69 (patch) | |
tree | 2452e510108db2553d00fc139fa44ea2c17170db /bitbake/lib/bb/ui/crumbs/progressbar.py | |
parent | 455f06497ebb589ab93c02322fbd0628a31ead73 (diff) | |
download | poky-31e34f26df41be7ebe3e1d60fd0be6b088261e69.tar.gz |
bitbake: image-writer/goggle: Disable pygtkcompat problems
Disable the problematic gtk usage for use with pygtkcompat. The following
commit removes these tools/UIs entirely but we may as well leave this
piece in the history in case anyone does want a starting point for reusing
them.
(Bitbake rev: 024d7889c31be500d658b819891aec2a7e3c7c0d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/progressbar.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/progressbar.py | 15 |
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): |