diff src/bridge/DBus.py @ 365:efbfccfed623

core: local_dir moved to config file - ~/.sat.conf added to potential config file location - removed useless profile param from getConfig
author Goffi <goffi@goffi.org>
date Sat, 18 Jun 2011 17:56:59 +0200
parents 312ca6f9d84a
children 3ea41a199b36
line wrap: on
line diff
--- a/src/bridge/DBus.py	Sat Jun 18 16:22:50 2011 +0200
+++ b/src/bridge/DBus.py	Sat Jun 18 17:56:59 2011 +0200
@@ -171,10 +171,10 @@
         return self.cb["disconnect"](unicode(profile_key))
 
     @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
-                         in_signature='sss', out_signature='s',
+                         in_signature='ss', out_signature='s',
                          async_callbacks=None)
-    def getConfig(self, section, name, profile_key='@DEFAULT@'):
-        return self.cb["getConfig"](unicode(section), unicode(name), unicode(profile_key))
+    def getConfig(self, section, name):
+        return self.cb["getConfig"](unicode(section), unicode(name))
 
     @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
                          in_signature='s', out_signature='a(sa{ss}as)',