changeset 129:0704f3be65cb

xmlui: fixed missing whitelist argument
author Goffi <goffi@goffi.org>
date Fri, 06 Apr 2018 16:11:00 +0200
parents d3ebe8caa26b
children 0ec3c3c0ed92
files cagou/core/xmlui.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/xmlui.py	Fri Apr 06 16:10:58 2018 +0200
+++ b/cagou/core/xmlui.py	Fri Apr 06 16:11:00 2018 +0200
@@ -483,7 +483,7 @@
 class XMLUIPanel(xmlui.XMLUIPanel, ScrollView):
     widget_factory = WidgetFactory()
 
-    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):
         ScrollView.__init__(self)
         self.close_cb = None
         self._grid = XMLUIPanelGrid()
@@ -496,6 +496,7 @@
                                   flags=flags,
                                   callback=callback,
                                   ignore=ignore,
+                                  whitelist=whitelist,
                                   profile=profile)
 
     def add_widget(self, wid):