From: Peter Kjellerstedt Date: Fri, 15 Nov 2013 17:09:00 +0000 (+0100) Subject: pybootchartgui: Make bars without a specified color white X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5f88f0f3b43b2ff8fc1dd4d4dda20c4f7a57d06;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git pybootchartgui: Make bars without a specified color white Previously they were transparent. (From OE-Core rev: 4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99) Signed-off-by: Peter Kjellerstedt Signed-off-by: Richard Purdie --- diff --git a/scripts/pybootchartgui/pybootchartgui/draw.py b/scripts/pybootchartgui/pybootchartgui/draw.py index 2aa348ba70a..ea960f9a075 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))