diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 12:56:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:24:03 +0100 |
commit | 685628ebc459dd1a09ce0dafc88a159aaaead732 (patch) | |
tree | 8fa28f9a912df01444f75fda3ee20a33a0923ac2 /bitbake/lib/bb/ui/crumbs/progressbar.py | |
parent | e80a8c25dca1178bf31840c4672cc4ca1ca7ce18 (diff) | |
download | poky-685628ebc459dd1a09ce0dafc88a159aaaead732.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: c53c7418d392452450352ca2175667dbdbd92401)
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): |