Mercurial > libervia-backend
diff frontends/src/bridge/DBus.py @ 276:a00e87d48213
bridge, bridge constructor: fixed mix stuff
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 30 Jan 2011 22:54:58 +0100 |
parents | 1d2e0dfe7114 |
children | 2b52a5da0978 |
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py Tue Jan 25 16:39:27 2011 +0100 +++ b/frontends/src/bridge/DBus.py Sun Jan 30 22:54:58 2011 +0100 @@ -55,7 +55,7 @@ def callMenu(self, category, name, menu_type, profile_key): debug ("callMenu") - return self.db_req_iface.callMenu(category, name, menu_type, profile_key) + return unicode(self.db_req_iface.callMenu(category, name, menu_type, profile_key)) def confirmationAnswer(self, id, accepted, data): debug ("confirmationAnswer") @@ -91,7 +91,7 @@ def getMenuHelp(self, category, name, menu_type): debug ("getMenuHelp") - return self.db_req_iface.getMenuHelp(category, name, menu_type) + return unicode(self.db_req_iface.getMenuHelp(category, name, menu_type)) def getMenus(self, ): debug ("getMenus") @@ -99,11 +99,11 @@ def getParamA(self, name, category, attribute="value", profile_key="@DEFAULT@"): debug ("getParamA") - return self.db_comm_iface.getParamA(name, category, attribute, profile_key) + return unicode(self.db_comm_iface.getParamA(name, category, attribute, profile_key)) def getParams(self, profile_key="@DEFAULT@"): debug ("getParams") - return self.db_comm_iface.getParams(profile_key) + return unicode(self.db_comm_iface.getParams(profile_key)) def getParamsCategories(self, ): debug ("getParamsCategories") @@ -111,11 +111,11 @@ def getParamsForCategory(self, category, profile_key="@DEFAULT@"): debug ("getParamsForCategory") - return self.db_comm_iface.getParamsForCategory(category, profile_key) + return unicode(self.db_comm_iface.getParamsForCategory(category, profile_key)) def getParamsUI(self, profile_key="@DEFAULT@"): debug ("getParamsUI") - return self.db_comm_iface.getParamsUI(profile_key) + return unicode(self.db_comm_iface.getParamsUI(profile_key)) def getPresenceStatus(self, profile_key="@DEFAULT@"): debug ("getPresenceStatus") @@ -123,7 +123,7 @@ def getProfileName(self, profile_key="@DEFAULT@"): debug ("getProfileName") - return self.db_req_iface.getProfileName(profile_key) + return unicode(self.db_req_iface.getProfileName(profile_key)) def getProfilesList(self, ): debug ("getProfilesList") @@ -135,7 +135,7 @@ def getVersion(self, ): debug ("getVersion") - return self.db_req_iface.getVersion() + return unicode(self.db_req_iface.getVersion()) def getWaitingSub(self, profile_key="@DEFAULT@"): debug ("getWaitingSub") @@ -147,11 +147,11 @@ def launchAction(self, action_type, data, profile_key="@DEFAULT@"): debug ("launchAction") - return self.db_req_iface.launchAction(action_type, data, profile_key) + return unicode(self.db_req_iface.launchAction(action_type, data, profile_key)) def registerNewAccount(self, login, password, host, port=5222): debug ("registerNewAccount") - return self.db_comm_iface.registerNewAccount(login, password, host, port) + return unicode(self.db_comm_iface.registerNewAccount(login, password, host, port)) def sendMessage(self, to_jid, message, subject='', mess_type="chat", profile_key="@DEFAULT@"): debug ("sendMessage")