From 71156a487a740365e149ea90a8c1caa0fc7e0a56 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 30 Jan 2009 15:23:47 +0000 Subject: [PATCH] We don't want a titlebar if there's only one terminal --- terminatorlib/terminatorterm.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terminatorlib/terminatorterm.py b/terminatorlib/terminatorterm.py index 9f4bea68..14c55eff 100755 --- a/terminatorlib/terminatorterm.py +++ b/terminatorlib/terminatorterm.py @@ -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: