diff 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
line wrap: on
line diff
--- a/sat_bridge/DBus.py	Mon Jul 12 18:55:27 2010 +0800
+++ b/sat_bridge/DBus.py	Tue Jul 13 02:24:59 2010 +0800
@@ -196,7 +196,7 @@
     @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
                          in_signature='ssss', out_signature='')
     def setParam(self, name, value, category, profile_key='@DEFAULT@'):
-        self.cb["setParam"](str(name), str(value), str(category), profile_key)
+        self.cb["setParam"](unicode(name), unicode(value), unicode(category), profile_key)
         
     @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
                          in_signature='sss', out_signature='s')