redraw account row when we add the first child. fixes #2576

This commit is contained in:
Yann Leboulanger 2006-11-13 06:41:43 +00:00
parent 9ea82566d5
commit 1a2cb6a071
1 changed files with 3 additions and 1 deletions

View File

@ -342,7 +342,9 @@ class RosterWindow:
iterG = model.append(IterAcct, [ iterG = model.append(IterAcct, [
self.jabber_state_images['16']['closed'], self.jabber_state_images['16']['closed'],
gtkgui_helpers.escape_for_pango_markup(group), 'group', gtkgui_helpers.escape_for_pango_markup(group), 'group',
group, account, False, None]) group, account, False, None])
if model.iter_n_children(IterAcct) == 1: # We added the first one
self.draw_account(account)
if group not in gajim.groups[account]: # It can probably never append if group not in gajim.groups[account]: # It can probably never append
if account + group in self.collapsed_rows: if account + group in self.collapsed_rows:
ishidden = False ishidden = False