From 4ce9c8997a9d14e6af3215fecd768bdf683aceb2 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 1 Feb 2006 20:02:11 +0000 Subject: [PATCH] draw opened/closed icon only when there is a connected child --- src/roster_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 00fcdb768..1be733c25 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -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