# HG changeset patch # User Goffi # Date 1509910278 -3600 # Node ID 8f2c1ea36e96f2e852ee17a4f74e764c242254bf # Parent fd4eae654182d8a0b88ae3247f5181da2f92780c browser (XMLUI): added new ignore argument diff -r fd4eae654182 -r 8f2c1ea36e96 src/browser/sat_browser/xmlui.py --- 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)