Author: jim++ Date: 2008-04-29 00:49:19 +0200 (Tue, 29 Apr 2008) New Revision: 9542
Modified: trunk/src/roster_window.py Log: Add missing call to adjust_group_expand_collapse_state()
Modified: trunk/src/roster_window.py =================================================================== --- trunk/src/roster_window.py 2008-04-28 22:46:49 UTC (rev 9541) +++ trunk/src/roster_window.py 2008-04-28 22:49:19 UTC (rev 9542) @@ -3481,13 +3481,16 @@ # Restore expand collapse state self._adjust_account_expand_collapse_state(account)
- if type_ == 'contact' and self.model.iter_has_child(child_iter): + elif type_ == 'contact' and self.model.iter_has_child(child_iter): # we are a bigbrother metacontact # redraw us to show/hide expand icon if self.filtering: # Prevent endless loops jid = model[iter][C_JID].decode('utf-8') gobject.idle_add(self.draw_contact, jid, account) + elif type_ == 'group': + group = model[iter][C_JID].decode('utf-8') + self._adjust_group_expand_collapse_state(group, account)
def on_treeview_selection_changed(self, selection): '''Called when selection in TreeView has changed.