diff src/bridge/DBus.py @ 1599:e2ed8009e66e

backend, bridge, frontends: actionNew has now a security_limit argument + added some docstring to explain data argument
author Goffi <goffi@goffi.org>
date Sat, 14 Nov 2015 19:21:56 +0100
parents a3d0cfa5b7a6
children 5b24d6bf5d15
line wrap: on
line diff
--- a/src/bridge/DBus.py	Sat Nov 14 19:20:33 2015 +0100
+++ b/src/bridge/DBus.py	Sat Nov 14 19:21:56 2015 +0100
@@ -126,8 +126,8 @@
         pass
 
     @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
-                         signature='a{ss}ss')
-    def actionNew(self, action_data, id, profile):
+                         signature='a{ss}sis')
+    def actionNew(self, action_data, id, security_limit, profile):
         pass
 
     @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
@@ -590,8 +590,8 @@
         self.dbus_name = dbus.service.BusName(const_INT_PREFIX, self.session_bus)
         self.dbus_bridge = DbusObject(self.session_bus, const_OBJ_PATH)
 
-    def actionNew(self, action_data, id, profile):
-        self.dbus_bridge.actionNew(action_data, id, profile)
+    def actionNew(self, action_data, id, security_limit, profile):
+        self.dbus_bridge.actionNew(action_data, id, security_limit, profile)
 
     def actionResult(self, answer_type, id, data, profile):
         self.dbus_bridge.actionResult(answer_type, id, data, profile)