Mercurial > libervia-backend
diff src/bridge/dbus_bridge.py @ 2168:255830fdb80b
core, bridge: renamed getProfileName to profileNameGet according to new conventions
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 05 Mar 2017 21:36:01 +0100 |
parents | 91347fe95384 |
children | f047d5410040 |
line wrap: on
line diff
--- a/src/bridge/dbus_bridge.py Sun Feb 26 18:23:01 2017 +0100 +++ b/src/bridge/dbus_bridge.py Sun Mar 05 21:36:01 2017 +0100 @@ -318,12 +318,6 @@ return self._callback("getPresenceStatuses", unicode(profile_key)) @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, - in_signature='s', out_signature='s', - async_callbacks=None) - def getProfileName(self, profile_key="@DEFAULT@"): - return self._callback("getProfileName", unicode(profile_key)) - - @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, in_signature='', out_signature='', async_callbacks=('callback', 'errback')) def getReady(self, callback=None, errback=None): @@ -408,6 +402,12 @@ return self._callback("profileIsSessionStarted", unicode(profile_key)) @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, + in_signature='s', out_signature='s', + async_callbacks=None) + def profileNameGet(self, profile_key="@DEFAULT@"): + return self._callback("profileNameGet", unicode(profile_key)) + + @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, in_signature='s', out_signature='', async_callbacks=None) def profileSetDefault(self, profile):