Author: asterix Date: 2007-01-21 19:13:23 +0100 (Sun, 21 Jan 2007) New Revision: 7877
Modified: trunk/src/remote_control.py Log: fix signatures in remote control. fixes #2865
Modified: trunk/src/remote_control.py =================================================================== --- trunk/src/remote_control.py 2007-01-21 15:28:13 UTC (rev 7876) +++ trunk/src/remote_control.py 2007-01-21 18:13:23 UTC (rev 7877) @@ -394,11 +394,11 @@ 'accounts', con.name, 'resource'))) return result
- @dbus.service.method(INTERFACE, in_signature='s', out_signature='a{ss}') + @dbus.service.method(INTERFACE, in_signature='s', out_signature='av') def list_contacts(self, account): '''list all contacts in the roster. If the first argument is specified, then return the contacts for the specified account''' - result = dbus.Array([], signature='s') + result = dbus.Array([], signature='a{sv}') accounts = gajim.contacts.get_accounts() if len(accounts) == 0: return result