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:
|
||||
recurse_down=False
|
||||
|
||||
self.do_redistribute(recurse_up, recurse_down)
|
||||
while gtk.events_pending():
|
||||
gtk.main_iteration_do(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():
|
||||
gtk.main_iteration_do(False)
|
||||
self.do_redistribute(recurse_up, recurse_down)
|
||||
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user