diff frontends/src/bridge/DBus.py @ 364:312ca6f9d84a

core: configuration file SàT's main options can now be put in a configuration file which can be in different locations Bridge: new getConfig option
author Goffi <goffi@goffi.org>
date Sat, 18 Jun 2011 16:22:50 +0200
parents 208107419b17
children efbfccfed623
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Sun Jun 12 23:43:36 2011 +0200
+++ b/frontends/src/bridge/DBus.py	Sat Jun 18 16:22:50 2011 +0200
@@ -81,6 +81,9 @@
     def disconnect(self, profile_key="@DEFAULT@"):
         return self.db_comm_iface.disconnect(profile_key)
 
+    def getConfig(self, section, name, profile_key='@DEFAULT@'):
+        return unicode(self.db_comm_iface.getConfig(section, name, profile_key))
+
     def getContacts(self, profile_key="@DEFAULT@"):
         return self.db_comm_iface.getContacts(profile_key)