comparison src/bridge/DBus.py @ 1059:b2b9c184033f

core, frontends: remove bridge method "connect" (always use asyncConnect)
author souliane <souliane@mailoo.org>
date Fri, 23 May 2014 10:40:54 +0200
parents 6e975c6b0faf
children aa15453ec54d
comparison
equal deleted inserted replaced
1058:0a9986452bba 1059:b2b9c184033f
222 async_callbacks=None) 222 async_callbacks=None)
223 def confirmationAnswer(self, id, accepted, data, profile): 223 def confirmationAnswer(self, id, accepted, data, profile):
224 return self._callback("confirmationAnswer", unicode(id), accepted, data, unicode(profile)) 224 return self._callback("confirmationAnswer", unicode(id), accepted, data, unicode(profile))
225 225
226 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 226 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
227 in_signature='ss', out_signature='b',
228 async_callbacks=None)
229 def connect(self, profile_key="@DEFAULT@", password=''):
230 return self._callback("connect", unicode(profile_key), unicode(password))
231
232 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
233 in_signature='ss', out_signature='', 227 in_signature='ss', out_signature='',
234 async_callbacks=None) 228 async_callbacks=None)
235 def delContact(self, entity_jid, profile_key="@DEFAULT@"): 229 def delContact(self, entity_jid, profile_key="@DEFAULT@"):
236 return self._callback("delContact", unicode(entity_jid), unicode(profile_key)) 230 return self._callback("delContact", unicode(entity_jid), unicode(profile_key))
237 231