comparison src/browser/sat_browser/xmlui.py @ 722:242dde89e698

browser side (xmlui): default callback is used for launchAction
author Goffi <goffi@goffi.org>
date Tue, 25 Aug 2015 14:42:45 +0200
parents 102bab805ec1
children afbe061b2d66
comparison
equal deleted inserted replaced
721:102bab805ec1 722:242dde89e698
418 return instance 418 return instance
419 419
420 class LiberviaXMLUIBase(object): 420 class LiberviaXMLUIBase(object):
421 421
422 def _xmluiLaunchAction(self, action_id, data): 422 def _xmluiLaunchAction(self, action_id, data):
423 self.host.launchAction(action_id, data) 423 self.host.launchAction(action_id, data, callback=self._defaultCb)
424 424
425 425
426 class XMLUIPanel(LiberviaXMLUIBase, xmlui.XMLUIPanel, VerticalPanel): 426 class XMLUIPanel(LiberviaXMLUIBase, xmlui.XMLUIPanel, VerticalPanel):
427 427
428 def __init__(self, host, parsed_xml, title=None, flags=None, callback=None, profile=C.PROF_KEY_NONE): 428 def __init__(self, host, parsed_xml, title=None, flags=None, callback=None, profile=C.PROF_KEY_NONE):