Mercurial > libervia-web
diff browser_side/panels.py @ 218:4e6467efd6bf
browser_side: small improvements for parameters panel
- auto-select the first tab
- remove the parameters item if there's nothing to display
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 07 Sep 2013 19:54:41 +0200 |
parents | f7ec248192de |
children | 624a87377412 |
line wrap: on
line diff
--- a/browser_side/panels.py Sun Sep 08 12:34:00 2013 +0200 +++ b/browser_side/panels.py Sat Sep 07 19:54:41 2013 +0200 @@ -772,7 +772,7 @@ AbsolutePanel.__init__(self) #menu - menu = Menu(host) + self.menu = Menu(host) #unibox unibox_panel = UniBoxPanel(host) @@ -796,7 +796,7 @@ self.tab_panel.selectTab(0) header = AbsolutePanel() - header.add(menu) + header.add(self.menu) header.add(unibox_panel) header.add(status) header.setStyleName('header')