core, bridge: added a profileSetDefault method
This commit is contained in:
parent
22696ec80b
commit
182f192703
1 changed files with 40 additions and 2 deletions
|
|
@ -428,6 +428,12 @@ class DbusObject(dbus.service.Object):
|
|||
def profileIsSessionStarted(self, profile_key="@DEFAULT@"):
|
||||
return self._callback("profileIsSessionStarted", unicode(profile_key))
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
|
||||
in_signature='s', out_signature='',
|
||||
async_callbacks=None)
|
||||
def profileSetDefault(self, arg_0):
|
||||
return self._callback("profileSetDefault", unicode(arg_0))
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
|
||||
in_signature='ss', out_signature='b',
|
||||
async_callbacks=('callback', 'errback'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue