pybootchartgui: Make bars without a specified color white

Previously they were transparent.

(From OE-Core rev: 4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Kjellerstedt 2013-11-15 18:09:00 +01:00 committed by Richard Purdie
parent 46c45853f0
commit d5f88f0f3b
1 changed files with 2 additions and 0 deletions

View 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))