Merge bug fix from Andrew Corbellini. Closes LP#1121143
This commit is contained in:
commit
5e5ff4a31f
|
@ -66,6 +66,7 @@ class Paned(Container):
|
||||||
container.add(terminal)
|
container.add(terminal)
|
||||||
|
|
||||||
self.show_all()
|
self.show_all()
|
||||||
|
sibling.grab_focus()
|
||||||
|
|
||||||
while gtk.events_pending():
|
while gtk.events_pending():
|
||||||
gtk.main_iteration_do(False)
|
gtk.main_iteration_do(False)
|
||||||
|
@ -248,7 +249,7 @@ class Paned(Container):
|
||||||
parent.remove(self)
|
parent.remove(self)
|
||||||
self.cnxids.remove_all()
|
self.cnxids.remove_all()
|
||||||
parent.add(sibling, metadata)
|
parent.add(sibling, metadata)
|
||||||
del(self)
|
sibling.grab_focus()
|
||||||
else:
|
else:
|
||||||
dbg("Paned::wrapcloseterm: self.closeterm failed")
|
dbg("Paned::wrapcloseterm: self.closeterm failed")
|
||||||
|
|
||||||
|
|
|
@ -475,6 +475,7 @@ class Window(Container, gtk.Window):
|
||||||
for term in order:
|
for term in order:
|
||||||
container.add(term)
|
container.add(term)
|
||||||
container.show_all()
|
container.show_all()
|
||||||
|
sibling.grab_focus()
|
||||||
|
|
||||||
while gtk.events_pending():
|
while gtk.events_pending():
|
||||||
gtk.main_iteration_do(False)
|
gtk.main_iteration_do(False)
|
||||||
|
|
Loading…
Reference in New Issue