aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/pybootchartgui
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2013-11-15 18:09:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-18 12:43:11 +0000
commit4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99 (patch)
tree0f2dfe48a9a4e9a79718b5aff77f44fe96b95713 /scripts/pybootchartgui
parent5f1b8730f90099c0f73a6b08599990ee71e831b5 (diff)
downloadopenembedded-core-4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99.tar.gz
pybootchartgui: Make bars without a specified color white
Previously they were transparent. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/pybootchartgui')
-rw-r--r--scripts/pybootchartgui/pybootchartgui/draw.py2
1 files changed, 2 insertions, 0 deletions
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))