comparison frontends/sat_bridge_frontend/DBus.py @ 37:a61beb21d16d

Gateway registration, unregistration & edition - default values added in form - DBus bridge: fixed array of struct management when adding dynamically a method - fixed doc for some methods - ugly fix for presence status - added dependency for XEP-0077 in XEP-0100 plugin - Wix: added unregister button in gateways manager - Wix: added privacy warning in gateways manager
author Goffi <goffi@goffi.org>
date Tue, 15 Dec 2009 01:27:32 +1100
parents 6491b7956c80
children 874de3020e1c
comparison
equal deleted inserted replaced
36:6491b7956c80 37:a61beb21d16d
98 return self.db_req_iface.launchAction(type, data) 98 return self.db_req_iface.launchAction(type, data)
99 99
100 def confirmationAnswer(self, id, accepted, data): 100 def confirmationAnswer(self, id, accepted, data):
101 return self.db_req_iface.confirmationAnswer(id, accepted, data) 101 return self.db_req_iface.confirmationAnswer(id, accepted, data)
102 102
103 def submitForm(self, target, data): 103 def gatewayRegister(self, action, target, data):
104 return self.db_req_iface.submitForm(target, data) 104 if data == None:
105 data = [('', '')] #XXX: we have to this awful hack because python dbus need to guess the signature
106 return self.db_req_iface.gatewayRegister(action, target, data)
105 107
106 def getProgress(self, id): 108 def getProgress(self, id):
107 return self.db_req_iface.getProgress(id) 109 return self.db_req_iface.getProgress(id)