comparison sat_frontends/tools/xmlui.py @ 2575:824ef7f64286

tools (xmlui): fixed XMLUIDialog signature
author Goffi <goffi@goffi.org>
date Fri, 06 Apr 2018 15:41:26 +0200
parents 26edcf3a30eb
children 9446f1ea9eac
comparison
equal deleted inserted replaced
2574:fbcdb761981c 2575:824ef7f64286
763 763
764 764
765 class XMLUIDialog(XMLUIBase): 765 class XMLUIDialog(XMLUIBase):
766 dialog_factory = None 766 dialog_factory = None
767 767
768 def __init__(self, host, parsed_dom, title=None, flags=None, callback=None, ignore=None, profile=C.PROF_KEY_NONE): 768 def __init__(self, host, parsed_dom, title=None, flags=None, callback=None, ignore=None, whitelist=None, profile=C.PROF_KEY_NONE):
769 super(XMLUIDialog, self).__init__(host, parsed_dom, title=title, flags=flags, callback=callback, profile=profile) 769 super(XMLUIDialog, self).__init__(host, parsed_dom, title=title, flags=flags, callback=callback, profile=profile)
770 top=parsed_dom.documentElement 770 top=parsed_dom.documentElement
771 dlg_elt = self._getChildNode(top, "dialog") 771 dlg_elt = self._getChildNode(top, "dialog")
772 if dlg_elt is None: 772 if dlg_elt is None:
773 raise ValueError("Invalid XMLUI: no Dialog element found !") 773 raise ValueError("Invalid XMLUI: no Dialog element found !")