I think this fixes most of the strangeness with the clicked splitter not moving properly, but I think it can still be triggered occasionally. I'm stumped.
This commit is contained in:
parent
d4b61768dc
commit
7354660788
|
@ -126,10 +126,12 @@ class Paned(Container):
|
||||||
else:
|
else:
|
||||||
recurse_down=False
|
recurse_down=False
|
||||||
|
|
||||||
self.do_redistribute(recurse_up, recurse_down)
|
# FIXME: These idle events are creating a lot of weird issues
|
||||||
|
for i in range(3):
|
||||||
while gtk.events_pending():
|
while gtk.events_pending():
|
||||||
gtk.main_iteration_do(False)
|
gtk.main_iteration_do(False)
|
||||||
self.do_redistribute(recurse_up, recurse_down)
|
self.do_redistribute(recurse_up, recurse_down)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue