We don't want a titlebar if there's only one terminal

This commit is contained in:
Chris Jones 2009-01-30 15:23:47 +00:00
parent 4c8c2614be
commit 71156a487a
1 changed files with 4 additions and 0 deletions

View File

@ -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: