changeset 1107:2066d4fd9036

browser: fixed XMLUI Panel and Dialog
author Goffi <goffi@goffi.org>
date Sun, 03 Jun 2018 14:04:05 +0200
parents 09feea19d7b9
children 7ec1ba86d38d
files src/browser/sat_browser/xmlui.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/sat_browser/xmlui.py	Sun Jun 03 13:55:09 2018 +0200
+++ b/src/browser/sat_browser/xmlui.py	Sun Jun 03 14:04:05 2018 +0200
@@ -431,7 +431,7 @@
 
 class XMLUIPanel(LiberviaXMLUIBase, xmlui.XMLUIPanel, VerticalPanel):
 
-    def __init__(self, host, parsed_xml, title=None, flags=None, callback=None, ignore=None, profile=C.PROF_KEY_NONE):
+    def __init__(self, host, parsed_xml, title=None, flags=None, callback=None, ignore=None, whitelist=None, profile=C.PROF_KEY_NONE):
         self.widget_factory = WidgetFactory(self)
         self.host = host
         VerticalPanel.__init__(self)
@@ -485,7 +485,7 @@
 class XMLUIDialog(LiberviaXMLUIBase, xmlui.XMLUIDialog):
     dialog_factory = GenericFactory()
 
-    def __init__(self, host, parsed_dom, title = None, flags = None, callback=None, ignore=None, profile=C.PROF_KEY_NONE):
+    def __init__(self, host, parsed_dom, title=None, flags=None, callback=None, ignore=None, whitelist=None, profile=C.PROF_KEY_NONE):
         self.dialog_factory = GenericFactory(self)
         xmlui.XMLUIDialog.__init__(self,
                                    host,