]> code.ossystems Code Review - openembedded-core.git/commitdiff
pybootchartgui: Make bars without a specified color white
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 15 Nov 2013 17:09:00 +0000 (18:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Nov 2013 12:43:11 +0000 (12:43 +0000)
Previously they were transparent.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/pybootchartgui/pybootchartgui/draw.py

index 2aa348ba70ab3e9c932253d78bd0a81dfd6d5e71..ea960f9a0753fd94ff6650b1243cfdb16707d6fa 100644 (file)
@@ -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))