From 5f797834ae3f10ac7a96805bcd1229e0ca709164 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 21 Jan 2007 18:13:23 +0000 Subject: [PATCH] fix signatures in remote control. fixes #2865 --- src/remote_control.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remote_control.py b/src/remote_control.py index be3ec6622..c9583f50f 100644 --- a/src/remote_control.py +++ b/src/remote_control.py @@ -394,11 +394,11 @@ class SignalObject(dbus.service.Object): '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