Mercurial > libervia-desktop-kivy
diff cagou/core/xmlui.py @ 129:0704f3be65cb
xmlui: fixed missing whitelist argument
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 06 Apr 2018 16:11:00 +0200 |
parents | cd99f70ea592 |
children | 8ed389d15690 |
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):