diff 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
line wrap: on
line diff
--- a/frontends/sat_bridge_frontend/DBus.py	Mon Dec 14 02:11:05 2009 +1100
+++ b/frontends/sat_bridge_frontend/DBus.py	Tue Dec 15 01:27:32 2009 +1100
@@ -100,8 +100,10 @@
     def confirmationAnswer(self, id, accepted, data):
         return self.db_req_iface.confirmationAnswer(id, accepted, data)
 
-    def submitForm(self, target, data):
-        return self.db_req_iface.submitForm(target, data)
+    def gatewayRegister(self, action, target, data):
+        if data == None:
+            data = [('', '')] #XXX: we have to this awful hack because python dbus need to guess the signature
+        return self.db_req_iface.gatewayRegister(action, target, data)
 
     def getProgress(self, id):
         return self.db_req_iface.getProgress(id)