We don't want a titlebar if there's only one terminal
This commit is contained in:
parent
4c8c2614be
commit
71156a487a
|
@ -105,6 +105,10 @@ class TerminatorTermTitle (gtk.EventBox):
|
|||
if not self._parent:
|
||||
self._parent = self.get_parent ()
|
||||
|
||||
if isinstance (self._parent.get_parent (), gtk.Window):
|
||||
self.hide()
|
||||
return
|
||||
|
||||
if (self._parent.conf.titlebars and self.wanted) or self._parent._group:
|
||||
self.show ()
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue