comparison 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
comparison
equal deleted inserted replaced
312:b4781a350483 313:5ad70625867a
261 261
262 def _setUniBox(self, enable): 262 def _setUniBox(self, enable):
263 """Enable or disable the unibox widget. 263 """Enable or disable the unibox widget.
264 @param enable: boolean 264 @param enable: boolean
265 """ 265 """
266 self.panel.unibox_panel.setUniBox(enable == 'true') 266 self.uni_box = self.panel.setUniBoxPanel(enable == 'true')
267 self.uni_box = self.panel.unibox_panel.unibox
268 267
269 def addTab(self, label, wid, select=True): 268 def addTab(self, label, wid, select=True):
270 """Create a new tab and eventually add a widget in 269 """Create a new tab and eventually add a widget in
271 @param label: label of the tab 270 @param label: label of the tab
272 @param wid: LiberviaWidget to add 271 @param wid: LiberviaWidget to add