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)
downloadpoky-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 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):
451 col = TASK_COLOR_PACKAGE 451 col = TASK_COLOR_PACKAGE
452 elif task == "do_populate_sysroot": 452 elif task == "do_populate_sysroot":
453 col = TASK_COLOR_SYSROOT 453 col = TASK_COLOR_SYSROOT
454 else:
455 col = WHITE
454 456
455 if col: 457 if col:
456 draw_fill_rect(ctx, col, (x, y, w, proc_h)) 458 draw_fill_rect(ctx, col, (x, y, w, proc_h))