From 07e52866d5620aad8c486cb8051b650dd3dd8262 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 30 Aug 2007 18:58:40 +0000 Subject: [PATCH] [oystein] fix dbus signature of gajim-remote list_contacts. fixes #3408 --- 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 e6712e8b5..58ee7cfa8 100644 --- a/src/remote_control.py +++ b/src/remote_control.py @@ -434,11 +434,11 @@ class SignalObject(dbus.service.Object): 'accounts', con.name, 'resource'))) return result - @dbus.service.method(INTERFACE, in_signature='s', out_signature='av') + @dbus.service.method(INTERFACE, in_signature='s', out_signature='aa{sv}') 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='a{sv}') + result = dbus.Array([], signature='aa{sv}') accounts = gajim.contacts.get_accounts() if len(accounts) == 0: return result