[oe-commits] Peter Kjellerstedt : pybootchartgui: Make bars without a specified color white
git at git.openembedded.org
git at git.openembedded.org
Mon Nov 18 12:44:55 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99
Author: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Date: Fri Nov 15 18:09:00 2013 +0100
pybootchartgui: Make bars without a specified color white
Previously they were transparent.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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))
More information about the Openembedded-commits
mailing list