Mercurial > libervia-web
diff src/browser/libervia_main.py @ 843:83a40d786e7a
browser: use new style calls for getSignals
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 15 Jan 2016 15:42:37 +0100 |
parents | 09ace5cbcb9b |
children | 6f0a127077c4 |
line wrap: on
line diff
--- a/src/browser/libervia_main.py Thu Jan 14 23:34:31 2016 +0100 +++ b/src/browser/libervia_main.py Fri Jan 15 15:42:37 2016 +0100 @@ -161,7 +161,7 @@ self._versions["libervia"] = version gotVersion() - self.bridge.getVersion(callback=gotSat) + self.bridge.getVersion(callback=gotSat, profile=None) self.bridge.getLiberviaVersion(callback=gotLibervia, profile=None) # XXX: bridge direct call expect a profile, even for method with no profile needed def registerSignal(self, functionName, handler=None, iface="core", with_profile=True): @@ -349,7 +349,7 @@ self.panel.addPresenceStatusPanel(self.presence_status_panel) self.panel.tab_panel.getTabBar().setVisible(True) - self.bridge_signals.call('getSignals', self.bridge_signals.signalHandler) + self.bridge_signals.getSignals(callback=self.bridge_signals.signalHandler, profile=None) def domain_cb(value): self._defaultDomain = value