diff libervia.py @ 313:5ad70625867a

browser_side: save the unibox panel space when unibox is disabled
author souliane <souliane@mailoo.org>
date Mon, 30 Dec 2013 13:00:41 +0100
parents b4781a350483
children 4148f8f4caa0
line wrap: on
line diff
--- a/libervia.py	Mon Dec 30 00:33:19 2013 +0100
+++ b/libervia.py	Mon Dec 30 13:00:41 2013 +0100
@@ -263,8 +263,7 @@
         """Enable or disable the unibox widget.
         @param enable: boolean
         """
-        self.panel.unibox_panel.setUniBox(enable == 'true')
-        self.uni_box = self.panel.unibox_panel.unibox
+        self.uni_box = self.panel.setUniBoxPanel(enable == 'true')
 
     def addTab(self, label, wid, select=True):
         """Create a new tab and eventually add a widget in