[OE-core] [PATCH 11/14] pybootchartgui: Make bars without a specified color white

Peter Kjellerstedt peter.kjellerstedt at axis.com
Fri Nov 15 17:09:00 UTC 2013


Previously they were transparent.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
---
 scripts/pybootchartgui/pybootchartgui/draw.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/pybootchartgui/pybootchartgui/draw.py b/scripts/pybootchartgui/pybootchartgui/draw.py
index 2aa348b..ea960f9 100644
--- a/scripts/pybootchartgui/pybootchartgui/draw.py
+++ b/scripts/pybootchartgui/pybootchartgui/draw.py
@@ -451,6 +451,8 @@ def render_processes_chart(ctx, options, trace, curr_y, w, h, sec_w):
                     col = TASK_COLOR_PACKAGE
                 elif task == "do_populate_sysroot":
                     col = TASK_COLOR_SYSROOT
+                else:
+                    col = WHITE
 
                 if col:
                     draw_fill_rect(ctx, col, (x, y, w, proc_h))
-- 
1.8.4




More information about the Openembedded-core mailing list