From d5f88f0f3b43b2ff8fc1dd4d4dda20c4f7a57d06 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Fri, 15 Nov 2013 18:09:00 +0100 Subject: 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 --- scripts/pybootchartgui/pybootchartgui/draw.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/pybootchartgui') diff --git a/scripts/pybootchartgui/pybootchartgui/draw.py b/scripts/pybootchartgui/pybootchartgui/draw.py index 2aa348ba70..ea960f9a07 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)) -- cgit v1.2.3-54-g00ecf