Count metacontacts only once in account row.

This commit is contained in:
Stephan Erb 2007-08-20 20:05:20 +00:00
parent c41732c6ab
commit ef2a936b71
1 changed files with 3 additions and 1 deletions

View File

@ -332,6 +332,7 @@ class RosterWindow:
model.append(i, (None, name, 'contact', jid, account, None))
self.draw_contact(jid, account)
self.draw_avatar(jid, account)
self.draw_account(account)
# Redraw parent to change icon
self.draw_contact(big_brother_jid, big_brother_account)
return
@ -390,6 +391,7 @@ class RosterWindow:
self.tree.expand_row(model.get_path(iterG), False)
self.draw_contact(jid, account)
self.draw_avatar(jid, account)
self.draw_account(account)
# put the children under this iter
for data in shown_family:
contacts = gajim.contacts.get_contacts(data['account'],
@ -4739,7 +4741,7 @@ class RosterWindow:
# FIXME: Why do groups have to be redrawn by hand?
for g in old_groups:
self.draw_group(g, account_source)
self.draw_account(account_source)
context.finish(True, True, etime)
confirm_metacontacts = gajim.config.get('confirm_metacontacts')