comparison 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
comparison
equal deleted inserted replaced
364:312ca6f9d84a 365:efbfccfed623
169 async_callbacks=None) 169 async_callbacks=None)
170 def disconnect(self, profile_key="@DEFAULT@"): 170 def disconnect(self, profile_key="@DEFAULT@"):
171 return self.cb["disconnect"](unicode(profile_key)) 171 return self.cb["disconnect"](unicode(profile_key))
172 172
173 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX, 173 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
174 in_signature='sss', out_signature='s', 174 in_signature='ss', out_signature='s',
175 async_callbacks=None) 175 async_callbacks=None)
176 def getConfig(self, section, name, profile_key='@DEFAULT@'): 176 def getConfig(self, section, name):
177 return self.cb["getConfig"](unicode(section), unicode(name), unicode(profile_key)) 177 return self.cb["getConfig"](unicode(section), unicode(name))
178 178
179 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX, 179 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
180 in_signature='s', out_signature='a(sa{ss}as)', 180 in_signature='s', out_signature='a(sa{ss}as)',
181 async_callbacks=None) 181 async_callbacks=None)
182 def getContacts(self, profile_key="@DEFAULT@"): 182 def getContacts(self, profile_key="@DEFAULT@"):