draw opened/closed icon only when there is a connected child

This commit is contained in:
Yann Leboulanger 2006-02-01 20:02:11 +00:00
parent d25430313d
commit 4ce9c8997a
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ class RosterWindow:
for iter in iters:
icon_name = helpers.get_icon_name_to_show(contact, account)
path = model.get_path(iter)
if gajim.contacts.has_children(account, contact):
if model.iter_has_child(iter):
if icon_name in ('error', 'offline') and not \
self.tree.row_expanded(path):
# get children icon