changeset 965:8f2c1ea36e96

browser (XMLUI): added new ignore argument
author Goffi <goffi@goffi.org>
date Sun, 05 Nov 2017 20:31:18 +0100
parents fd4eae654182
children 12c149171199
files src/browser/sat_browser/xmlui.py
diffstat 1 files changed, 17 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/sat_browser/xmlui.py	Fri Nov 03 14:37:01 2017 +0100
+++ b/src/browser/sat_browser/xmlui.py	Sun Nov 05 20:31:18 2017 +0100
@@ -431,12 +431,18 @@
 
 class XMLUIPanel(LiberviaXMLUIBase, xmlui.XMLUIPanel, VerticalPanel):
 
-    def __init__(self, host, parsed_xml, title=None, flags=None, callback=None, profile=C.PROF_KEY_NONE):
+    def __init__(self, host, parsed_xml, title=None, flags=None, callback=None, ignore=None, profile=C.PROF_KEY_NONE):
         self.widget_factory = WidgetFactory(self)
         self.host = host
         VerticalPanel.__init__(self)
         self.setSize('100%', '100%')
-        xmlui.XMLUIPanel.__init__(self, host, parsed_xml, title, flags, callback, profile)
+        xmlui.XMLUIPanel.__init__(self,
+                                  host,
+                                  parsed_xml,
+                                  title = title,
+                                  flags = flags,
+                                  callback = callback,
+                                  profile = profile)
 
     def setCloseCb(self, close_cb):
         self.close_cb = close_cb
@@ -479,9 +485,16 @@
 class XMLUIDialog(LiberviaXMLUIBase, xmlui.XMLUIDialog):
     dialog_factory = GenericFactory()
 
-    def __init__(self, host, parsed_dom, title = None, flags = None, callback=None, profile=C.PROF_KEY_NONE):
+    def __init__(self, host, parsed_dom, title = None, flags = None, callback=None, ignore=None, profile=C.PROF_KEY_NONE):
         self.dialog_factory = GenericFactory(self)
-        xmlui.XMLUIDialog.__init__(self, host, parsed_dom, title, flags, callback, profile)
+        xmlui.XMLUIDialog.__init__(self,
+                                   host,
+                                   parsed_dom,
+                                   title=title,
+                                   flags=flags,
+                                   callback=callback,
+                                   ignore=ignore,
+                                   profile=profile)
         self.host = host
 
 xmlui.registerClass(xmlui.CLASS_PANEL, XMLUIPanel)