Patchwork [03/14] pybootchartgui: Set the initial state of "Show more" correctly

login
register
mail settings
Submitter Peter Kjellerstedt
Date Nov. 15, 2013, 5:08 p.m.
Message ID <5771eb2a814fadbd38ef7f1f3783b88dd4ee9f2d.1384535211.git.pkj@axis.com>
Download mbox | patch
Permalink /patch/61795/
State New
Headers show

Comments

Peter Kjellerstedt - Nov. 15, 2013, 5:08 p.m.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 scripts/pybootchartgui/pybootchartgui/gui.py | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/scripts/pybootchartgui/pybootchartgui/gui.py b/scripts/pybootchartgui/pybootchartgui/gui.py
index 164bdfb..1120701 100644
--- a/scripts/pybootchartgui/pybootchartgui/gui.py
+++ b/scripts/pybootchartgui/pybootchartgui/gui.py
@@ -302,6 +302,7 @@  class PyBootchartShell(gtk.VBox):
             # Misc. options
             button = gtk.CheckButton("Show more")
             button.connect ('toggled', self.widget.show_toggled)
+            button.set_active(options.app_options.show_all)
             hbox.pack_start (button, False, True)
 
         self.pack_start(hbox, False)