Mercurial > libervia-web
diff src/browser/libervia_main.py @ 458:1eeed8028199
browser side: rename parameter of getParent / getWidgetPanel from 'verbose' to 'expect'
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 29 May 2014 17:49:59 +0200 |
parents | b55bc50756fa |
children | d0cd8ae579f7 |
line wrap: on
line diff
--- a/src/browser/libervia_main.py Thu May 29 17:32:32 2014 +0200 +++ b/src/browser/libervia_main.py Thu May 29 17:49:59 2014 +0200 @@ -622,7 +622,7 @@ @return: the existing widget that has been found or None.""" selected_tab = self.tab_panel.getCurrentPanel() for lib_wid in self.libervia_widgets: - parent = lib_wid.getWidgetsPanel(verbose=False) + parent = lib_wid.getWidgetsPanel(expect=False) if parent is None or (ignoreOtherTabs and parent != selected_tab): # do not return a widget that is not in the currently selected tab continue @@ -658,7 +658,7 @@ else: tab = self.addTab(new_tab, lib_wid, False) else: # reuse existing widget - tab = lib_wid.getWidgetsPanel(verbose=False) + tab = lib_wid.getWidgetsPanel(expect=False) if new_tab is None: if tab is not None: tab.removeWidget(lib_wid)