From 40f781362712a7df076d67f1f462e74ff122fee1 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Tue, 8 Feb 2011 21:26:20 +0300 Subject: [PATCH] Fixes previous commit --- src/groupchat_control.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 47f44b77b..d600982f8 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -555,9 +555,6 @@ class GroupchatControl(ChatControlBase): """ The MUC treeview has resized. Move the hpaned in all tabs to match """ - def reset_flag(): - self.resize_from_another_muc = True - if gparamspec.name != 'position': return if not self.resize_from_another_muc: @@ -577,7 +574,7 @@ class GroupchatControl(ChatControlBase): if ctrl and gajim.config.get('one_message_window') != 'never': ctrl.resize_from_another_muc = False ctrl.hpaned.set_position(hpaned_position) - gobject.idle_add(reset_flag) + ctrl.resize_from_another_muc = True def iter_contact_rows(self): """