# HG changeset patch # User Goffi # Date 1475416302 -7200 # Node ID 7999d5299ddc58faf0468a3dd1bd44d477abcf29 # Parent e8cb9cc094858a46e32ab45a493d3d1d054920a1 bridge(D-Bus): minotr argument name fix diff -r e8cb9cc09485 -r 7999d5299ddc frontends/src/bridge/DBus.py --- a/frontends/src/bridge/DBus.py Sun Oct 02 13:46:29 2016 +0200 +++ b/frontends/src/bridge/DBus.py Sun Oct 02 15:51:42 2016 +0200 @@ -563,7 +563,7 @@ kwargs['error_handler'] = error_handler return self.db_core_iface.profileIsSessionStarted(profile_key, **kwargs) - def profileSetDefault(self, arg_0, callback=None, errback=None): + def profileSetDefault(self, profile, callback=None, errback=None): if callback is None: error_handler = None else: @@ -575,7 +575,7 @@ kwargs['timeout'] = const_TIMEOUT kwargs['reply_handler'] = callback kwargs['error_handler'] = error_handler - return self.db_core_iface.profileSetDefault(arg_0, **kwargs) + return self.db_core_iface.profileSetDefault(profile, **kwargs) def profileStartSession(self, password='', profile_key="@DEFAULT@", callback=None, errback=None): if callback is None: diff -r e8cb9cc09485 -r 7999d5299ddc src/bridge/DBus.py --- a/src/bridge/DBus.py Sun Oct 02 13:46:29 2016 +0200 +++ b/src/bridge/DBus.py Sun Oct 02 15:51:42 2016 +0200 @@ -411,8 +411,8 @@ @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)) + def profileSetDefault(self, profile): + return self._callback("profileSetDefault", unicode(profile)) @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, in_signature='ss', out_signature='b',