attempting to solve LP#227263

This commit is contained in:
Emmanuel Bretelle 2008-06-13 12:21:14 +01:00
parent 0616784c35
commit 55f7954386
1 changed files with 1 additions and 2 deletions

View File

@ -1058,9 +1058,8 @@ class Terminator:
parent = widget.get_parent () parent = widget.get_parent ()
if isinstance (parent, gtk.Window): if isinstance (parent, gtk.Window):
# We have just one term # We have just one term
widget.reparent (pane) parent.remove(widget)
if pos in ("top", "left"): if pos in ("top", "left"):
pane.remove(widget)
pane.pack1 (terminal, True, True) pane.pack1 (terminal, True, True)
pane.pack2 (widget, True, True) pane.pack2 (widget, True, True)
else: else: