bridge, bridge constructor: fixed mix stuff
This commit is contained in:
parent
e3392afc57
commit
894e276dec
1 changed files with 19 additions and 16 deletions
|
|
@ -55,7 +55,7 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
|
||||
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 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
|
||||
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 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
|
||||
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 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
|
||||
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 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
|
||||
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 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
|
||||
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 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
|
||||
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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue