Fix bug which loses all terminals at startup. Mention licence in setup.py
This commit is contained in:
parent
674326ead4
commit
16e74b1201
1
setup.py
1
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'],
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user