summaryrefslogtreecommitdiffstats
path: root/scripts
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:44:56 +0000
commitd5f88f0f3b43b2ff8fc1dd4d4dda20c4f7a57d06 (patch)
tree73c35ebd1e2f9147256dc867b7fbf1a7687a8ea7 /scripts
parent46c45853f0fbf71fd153bcffacb1807363a1a857 (diff)
downloadast2050-yocto-poky-d5f88f0f3b43b2ff8fc1dd4d4dda20c4f7a57d06.zip
ast2050-yocto-poky-d5f88f0f3b43b2ff8fc1dd4d4dda20c4f7a57d06.tar.gz
pybootchartgui: Make bars without a specified color white
Previously they were transparent. (From OE-Core rev: 4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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 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))
OpenPOWER on IntegriCloud