Fixes previous commit
This commit is contained in:
parent
ae43834dc6
commit
40f7813627
|
@ -555,9 +555,6 @@ class GroupchatControl(ChatControlBase):
|
||||||
"""
|
"""
|
||||||
The MUC treeview has resized. Move the hpaned in all tabs to match
|
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':
|
if gparamspec.name != 'position':
|
||||||
return
|
return
|
||||||
if not self.resize_from_another_muc:
|
if not self.resize_from_another_muc:
|
||||||
|
@ -577,7 +574,7 @@ class GroupchatControl(ChatControlBase):
|
||||||
if ctrl and gajim.config.get('one_message_window') != 'never':
|
if ctrl and gajim.config.get('one_message_window') != 'never':
|
||||||
ctrl.resize_from_another_muc = False
|
ctrl.resize_from_another_muc = False
|
||||||
ctrl.hpaned.set_position(hpaned_position)
|
ctrl.hpaned.set_position(hpaned_position)
|
||||||
gobject.idle_add(reset_flag)
|
ctrl.resize_from_another_muc = True
|
||||||
|
|
||||||
def iter_contact_rows(self):
|
def iter_contact_rows(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue