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:
|
if not self._parent:
|
||||||
self._parent = self.get_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:
|
if (self._parent.conf.titlebars and self.wanted) or self._parent._group:
|
||||||
self.show ()
|
self.show ()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue