diff src/bridge/DBus.py @ 360:6b5626c37909

bridge: regenerated DBus bridge
author Goffi <goffi@goffi.org>
date Mon, 06 Jun 2011 21:55:59 +0200
parents e6047415868d
children 312ca6f9d84a
line wrap: on
line diff
--- a/src/bridge/DBus.py	Mon Jun 06 18:35:30 2011 +0200
+++ b/src/bridge/DBus.py	Mon Jun 06 21:55:59 2011 +0200
@@ -27,6 +27,7 @@
 from logging import debug, info
 
 const_INT_PREFIX = "org.goffi.SAT"  #Interface prefix
+const_OBJ_PATH = '/org/goffi/SAT/bridge'
 const_COMM_SUFFIX = ".communication"
 const_REQ_SUFFIX = ".request"
 
@@ -385,7 +386,7 @@
         info ("Init DBus...")
         self.session_bus = dbus.SessionBus()
         self.dbus_name = dbus.service.BusName(const_INT_PREFIX, self.session_bus)
-        self.dbus_bridge = DbusObject(self.session_bus, '/org/goffi/SAT/bridge')
+        self.dbus_bridge = DbusObject(self.session_bus, const_OBJ_PATH)
 
     def actionResult(self, answer_type, id, data):
         self.dbus_bridge.actionResult(answer_type, id, data)