comparison frontends/src/bridge/DBus.py @ 492:9248f2c5e03e

bridge: updated D-Bus frontend
author Goffi <goffi@goffi.org>
date Fri, 17 Aug 2012 03:14:20 +0200
parents 2a072735e459
children e9634d2e7b38
comparison
equal deleted inserted replaced
491:1e4731f1e1d7 492:9248f2c5e03e
148 return unicode(self.db_core_iface.launchAction(action_type, data, profile_key)) 148 return unicode(self.db_core_iface.launchAction(action_type, data, profile_key))
149 149
150 def registerNewAccount(self, login, password, email, host, port=5222): 150 def registerNewAccount(self, login, password, email, host, port=5222):
151 return unicode(self.db_core_iface.registerNewAccount(login, password, email, host, port)) 151 return unicode(self.db_core_iface.registerNewAccount(login, password, email, host, port))
152 152
153 def sendMessage(self, to_jid, message, subject='', mess_type="chat", profile_key="@DEFAULT@"): 153 def sendMessage(self, to_jid, message, subject='', mess_type="auto", profile_key="@DEFAULT@"):
154 return self.db_core_iface.sendMessage(to_jid, message, subject, mess_type, profile_key) 154 return self.db_core_iface.sendMessage(to_jid, message, subject, mess_type, profile_key)
155 155
156 def setParam(self, name, value, category, profile_key="@DEFAULT@"): 156 def setParam(self, name, value, category, profile_key="@DEFAULT@"):
157 return self.db_core_iface.setParam(name, value, category, profile_key) 157 return self.db_core_iface.setParam(name, value, category, profile_key)
158 158