summaryrefslogtreecommitdiffstats
path: root/scripts/pybootchartgui/pybootchartgui/gui.py
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2013-11-14 15:11:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-18 12:44:56 +0000
commit46c45853f0fbf71fd153bcffacb1807363a1a857 (patch)
tree36f92fe8133487154406e24b232fad2f8764d9cc /scripts/pybootchartgui/pybootchartgui/gui.py
parent65d43843b69416f17eac6092f69a3ac58a8a9c5d (diff)
downloadpoky-46c45853f0fbf71fd153bcffacb1807363a1a857.tar.gz
pybootchartgui: Make "Show more" show all processes
While "Show more" is enabled, all processes are shown, regardless of --mintime. This also has the added benefit of making the first shown bar start at its correct offset from the start time, rather than always starting at 0. (From OE-Core rev: 5f1b8730f90099c0f73a6b08599990ee71e831b5) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui/gui.py')
-rw-r--r--scripts/pybootchartgui/pybootchartgui/gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui/gui.py b/scripts/pybootchartgui/pybootchartgui/gui.py
index 11207015d8..7fedd232df 100644
--- a/scripts/pybootchartgui/pybootchartgui/gui.py
+++ b/scripts/pybootchartgui/pybootchartgui/gui.py
@@ -121,6 +121,8 @@ class PyBootchartWidget(gtk.DrawingArea):
121 121
122 def show_toggled(self, button): 122 def show_toggled(self, button):
123 self.options.app_options.show_all = button.get_property ('active') 123 self.options.app_options.show_all = button.get_property ('active')
124 self.chart_width, self.chart_height = draw.extents(self.options, self.xscale, self.trace)
125 self._set_scroll_adjustments(self.hadj, self.vadj)
124 self.queue_draw() 126 self.queue_draw()
125 127
126 POS_INCREMENT = 100 128 POS_INCREMENT = 100