Core, wix: added profile management for RegisterNewAccount method, and LaunchAction
This commit is contained in:
parent
6605ab7a0a
commit
10c45f4b1d
1 changed files with 19 additions and 20 deletions
|
|
@ -126,7 +126,7 @@ class DbusObject(dbus.service.Object):
|
|||
in_signature='s', out_signature='i')
|
||||
def createProfile(self, name):
|
||||
info ('Profile creation asked')
|
||||
return self.cb["createProfile"](str(name))
|
||||
return self.cb["createProfile"](unicode(name))
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_REQ_SUFFIX,
|
||||
in_signature='s', out_signature='i')
|
||||
|
|
@ -243,9 +243,9 @@ class DbusObject(dbus.service.Object):
|
|||
return self.cb["delContact"](entity, profile_key)
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_REQ_SUFFIX,
|
||||
in_signature='sa{ss}', out_signature='s')
|
||||
def launchAction(self, type, data):
|
||||
return self.cb["launchAction"](type, data)
|
||||
in_signature='sa{ss}s', out_signature='s')
|
||||
def launchAction(self, type, data, profile_key='@DEFAULT@'):
|
||||
return self.cb["launchAction"](type, data, profile_key)
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_REQ_SUFFIX,
|
||||
in_signature='sba{ss}', out_signature='')
|
||||
|
|
|
|||
Loading…
Reference in a new issue