Added grandparent.resize_children() in Terminator.remove()

to force the terminal term to have the right size when returning
 otherwise, resizing is delayed and dnd between 2 siblings will
 squeeze a term
This commit is contained in:
Emmanuel Bretelle 2008-02-29 17:50:32 +00:00
parent bd86949ad6
commit 246b7a1e36
1 changed files with 1 additions and 0 deletions

View File

@ -879,6 +879,7 @@ class Terminator:
parent.remove(widget.get_box()) parent.remove(widget.get_box())
grandparent.remove (parent) grandparent.remove (parent)
sibling.reparent (grandparent) sibling.reparent (grandparent)
grandparent.resize_children()
parent.destroy () parent.destroy ()
self.term_list.remove (widget) self.term_list.remove (widget)