Mercurial > libervia-backend
comparison sat_bridge/DBus.py @ 128:2240f34f6452
Primitivus: misc fixes + menubar first draft
- Menu bar: first draft of class
- Password widget fixed
- change some str to unicode, notably for JID
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 13 Jul 2010 02:24:59 +0800 |
parents | ded2431cea5a |
children | 7452ac3818e7 |
comparison
equal
deleted
inserted
replaced
127:55d3ef84f01f | 128:2240f34f6452 |
---|---|
194 self.cb["subscription"](type, entity, profile_key) | 194 self.cb["subscription"](type, entity, profile_key) |
195 | 195 |
196 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX, | 196 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX, |
197 in_signature='ssss', out_signature='') | 197 in_signature='ssss', out_signature='') |
198 def setParam(self, name, value, category, profile_key='@DEFAULT@'): | 198 def setParam(self, name, value, category, profile_key='@DEFAULT@'): |
199 self.cb["setParam"](str(name), str(value), str(category), profile_key) | 199 self.cb["setParam"](unicode(name), unicode(value), unicode(category), profile_key) |
200 | 200 |
201 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX, | 201 @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX, |
202 in_signature='sss', out_signature='s') | 202 in_signature='sss', out_signature='s') |
203 def getParamA(self, name, category="default", profile_key='@DEFAULT@'): | 203 def getParamA(self, name, category="default", profile_key='@DEFAULT@'): |
204 return self.cb["getParamA"](name, category, profile_key = profile_key) | 204 return self.cb["getParamA"](name, category, profile_key = profile_key) |