changeset 1717fe91f9f5 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=1717fe91f9f5 description: don't try to resize groupchat contact list that are not yet re-added to window when we change window mode behaviour. Fixes #5663
diffstat:
src/groupchat_control.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 34270bda9398 -r 1717fe91f9f5 src/groupchat_control.py --- a/src/groupchat_control.py Sat Apr 24 13:49:12 2010 +0200 +++ b/src/groupchat_control.py Sun Apr 25 19:35:22 2010 +0200 @@ -467,8 +467,10 @@ for account in gajim.gc_connected: for room_jid in [i for i in gajim.gc_connected[account] if \ gajim.gc_connected[account][i] and i != self.room_jid]: - ctrl = gajim.interface.msg_win_mgr.get_gc_control(room_jid, account) - if not ctrl: + ctrl = gajim.interface.msg_win_mgr.get_gc_control(room_jid, + account) + if not ctrl and room_jid in \ + gajim.interface.minimized_controls[account]: ctrl = gajim.interface.minimized_controls[account][room_jid] if ctrl: ctrl.resize_occupant_treeview(hpaned_position)