From 1eab36621826fb73f345d7faaaa0acba48da629d Mon Sep 17 00:00:00 2001 From: Maran Date: Tue, 31 Jul 2012 19:31:06 +0200 Subject: [PATCH] Added the expand option to the settings menu --- lib/gui_lite.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/gui_lite.py b/lib/gui_lite.py index e1013ff0f..ea74fd051 100644 --- a/lib/gui_lite.py +++ b/lib/gui_lite.py @@ -178,7 +178,11 @@ class MiniWindow(QDialog): view_menu = menubar.addMenu(_("&View")) view_menu.addMenu(_("&Themes")) view_menu.addAction(_("Show History")) - menubar.addMenu(_("&Settings")) + + settings_menu = menubar.addMenu(_("&Settings")) + expert_gui = settings_menu.addAction(_("&Expert GUI")) + self.connect(expert_gui, SIGNAL("triggered()"), expand_callback) + menubar.addMenu(_("&Help")) main_layout.setMenuBar(menubar)