diff --git a/setup.py b/setup.py index d188d551..ace73a1d 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,7 @@ setup(name='Terminator', author='Chris Jones', author_email='cmsj@tenshu.net', url='http://www.tenshu.net/terminator/', + licence='GPL v2', scripts=['terminator.py'], ) diff --git a/terminator.py b/terminator.py index c80b96fc..493d9c0e 100755 --- a/terminator.py +++ b/terminator.py @@ -334,6 +334,7 @@ class Terminator: term2 = TerminatorTerm (self) parent = widget.get_box ().get_parent () + if vert: pane = gtk.VPaned () else: @@ -364,7 +365,10 @@ class Terminator: widget.get_box ().reparent (pane) pane.add1 (widget.get_box ()) - pane.add2 (widget.get_box ()) + pane.add2 (term2.get_box ()) + + parent.add (pane) + pane.set_position (newpos) if isinstance (parent, gtk.Paned): # We are inside a split term