comparison src/bridge/DBus.py @ 1917:05a5a125a238

bridge (frontend): raise a BridgeExceptionNoService on org.freedesktop.DBus.Error.Spawn.ExecFailed D-Bus error
author Goffi <goffi@goffi.org>
date Mon, 21 Mar 2016 19:44:16 +0100
parents d17772b0fe22
children 2daf7b4c6756
comparison
equal deleted inserted replaced
1916:72837638f076 1917:05a5a125a238
190 def presenceUpdate(self, entity_jid, show, priority, statuses, profile): 190 def presenceUpdate(self, entity_jid, show, priority, statuses, profile):
191 pass 191 pass
192 192
193 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, 193 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
194 signature='sss') 194 signature='sss')
195 def progressError(self, error, profile, arg_2): 195 def progressError(self, id, error, profile):
196 pass 196 pass
197 197
198 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, 198 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
199 signature='sa{ss}s') 199 signature='sa{ss}s')
200 def progressFinished(self, id, metadata, profile): 200 def progressFinished(self, id, metadata, profile):
639 self.dbus_bridge.paramUpdate(name, value, category, profile) 639 self.dbus_bridge.paramUpdate(name, value, category, profile)
640 640
641 def presenceUpdate(self, entity_jid, show, priority, statuses, profile): 641 def presenceUpdate(self, entity_jid, show, priority, statuses, profile):
642 self.dbus_bridge.presenceUpdate(entity_jid, show, priority, statuses, profile) 642 self.dbus_bridge.presenceUpdate(entity_jid, show, priority, statuses, profile)
643 643
644 def progressError(self, error, profile, arg_2): 644 def progressError(self, id, error, profile):
645 self.dbus_bridge.progressError(error, profile, arg_2) 645 self.dbus_bridge.progressError(id, error, profile)
646 646
647 def progressFinished(self, id, metadata, profile): 647 def progressFinished(self, id, metadata, profile):
648 self.dbus_bridge.progressFinished(id, metadata, profile) 648 self.dbus_bridge.progressFinished(id, metadata, profile)
649 649
650 def progressStarted(self, id, metadata, profile): 650 def progressStarted(self, id, metadata, profile):