diff frontends/sat_bridge_frontend/DBus.py @ 22:bb72c29f3432

added action cb mechanism for buttons. Tested with a temporary new user registration button.
author Goffi <goffi@goffi.org>
date Tue, 01 Dec 2009 04:56:08 +0100
parents 6928e3cb73a8
children 53e921c8a357
line wrap: on
line diff
--- a/frontends/sat_bridge_frontend/DBus.py	Sun Nov 08 01:49:08 2009 +0100
+++ b/frontends/sat_bridge_frontend/DBus.py	Tue Dec 01 04:56:08 2009 +0100
@@ -64,8 +64,8 @@
     def setParam(self, name, value, category):
         return self.db_comm_iface.setParam(name, value, category)
         
-    def getParamV(self, name, category):
-        return self.db_comm_iface.getParamV(name, category)
+    def getParamA(self, name, category):
+        return self.db_comm_iface.getParamA(name, category)
 
     def getParams(self):
         return self.db_comm_iface.getParams()
@@ -88,6 +88,9 @@
     def isConnected(self):
         return self.db_comm_iface.isConnected()
 
+    def launchAction(self, type, data):
+        return self.db_req_iface.launchAction(type, data)
+
     def confirmationAnswer(self, id, accepted, data):
         return self.db_req_iface.confirmationAnswer(id, accepted, data)