when a child change his status, redraw parent line too (parent icon may depend on children status). Fixes #1649

This commit is contained in:
Yann Leboulanger 2006-03-04 09:49:53 +00:00
parent c88b4faf65
commit 08d07e3ffc
1 changed files with 4 additions and 0 deletions

View File

@ -402,6 +402,10 @@ class RosterWindow:
state_images = self.get_appropriate_state_images(jid,
size = 'closed', icon_name = icon_name)
else:
# redraw parent
if gajim.contacts.is_subcontact(account, contact):
parent_jid = gajim.contacts.get_parent_contact(account, contact).jid
self.draw_contact(parent_jid, account)
state_images = self.get_appropriate_state_images(jid,
icon_name = icon_name)