From ed8ccffcbc86b09cff686001781e3076f22fd657 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 30 Dec 2005 11:42:48 +0000 Subject: [PATCH] missing new functions --- src/roster_window.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 6ef6fecf2..09e10de41 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2127,9 +2127,10 @@ _('If "%s" accepts this request you will know his or her status.') %jid) jid = model[iter][C_JID].decode('utf-8') type = model[iter][C_TYPE] if type == 'contact': - old_text = gajim.get_contact_instance_with_highest_priority(account, jid).name + old_text = gajim.contacts.get_contact_with_highest_priority(account, + jid).name if old_text != new_text: - for u in gajim.contacts[account][jid]: + for u in gajim.contacts.get_contact(account, jid): u.name = new_text gajim.connections[account].update_contact(jid, new_text, u.groups) self.draw_contact(jid, account)