summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobcolor.py
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-02-27 13:28:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-20 15:21:32 +0000
commit88bbc0ce562aa80d2b98c8b48d79a612b47ca852 (patch)
treed3bbe6d318e96cbbcc46f350d6a730c36320a47c /bitbake/lib/bb/ui/crumbs/hobcolor.py
parent8b206d38c7fb172022e98a0879963e5f44bc2092 (diff)
downloadpoky-88bbc0ce562aa80d2b98c8b48d79a612b47ca852.tar.gz
Hob: implement a self-defined notebook visual component for Hob
In recipe selection page, package selection page, and build details page, etc, there is a notebook component which is not gtk.Notebook in the design video. We implement the visual component with a drawing area, and use it to replace the old notebook in recipe selection page and package selection page. The reasons why we do it are: 1) General speaking, gtk.Notebook doesn't look like the designer worked out. (see https://wiki.yoctoproject.org/wiki/File:Hob1.2-screencast2.mov) 2) And the designer version looks better, for example, there is an indicator to show how many recipes or packages are included, and how many issues happened when building? Very straightforward. But technically, gtk.Notebook can't implement that, as far as we know. 3) Moreover, there is an entry for "search recipes", and "search packages". How to make it horizontal to the tabs is a problem to us. Regarding those, we give up gtk.Notebook and use our own. (From Poky rev: e4ebac226cc5e4589bcecd8bada9fde462e925cc) (Bitbake rev: b0c2ca3f600694c6d37924006de3f9474b2a9a8e) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobcolor.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobcolor.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobcolor.py b/bitbake/lib/bb/ui/crumbs/hobcolor.py
index 9d67d5c496..402f022128 100644
--- a/bitbake/lib/bb/ui/crumbs/hobcolor.py
+++ b/bitbake/lib/bb/ui/crumbs/hobcolor.py
@@ -28,6 +28,7 @@ class HobColors:
28 DARK = "#3c3b37" 28 DARK = "#3c3b37"
29 BLACK = "#000000" 29 BLACK = "#000000"
30 LIGHT_ORANGE = "#f7a787" 30 LIGHT_ORANGE = "#f7a787"
31 YELLOW = "#ffff00"
31 32
32 OK = WHITE 33 OK = WHITE
33 RUNNING = PALE_GREEN 34 RUNNING = PALE_GREEN