summaryrefslogtreecommitdiffstats
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
parent5f1b8730f90099c0f73a6b08599990ee71e831b5 (diff)
downloadopenembedded-core-contrib-4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99.tar.gz
openembedded-core-contrib-4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99.tar.bz2
openembedded-core-contrib-4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99.zip
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>
-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))