From c5ff753e974274bf7ed473396feb1ac37216eb27 Mon Sep 17 00:00:00 2001 From: Emmanuel Bretelle Date: Sat, 12 Apr 2008 13:10:34 +0100 Subject: [PATCH] Fixes titlebars not showing if disabled in user profile * fixes LP#216278 thanks GGLucas --- terminator | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/terminator b/terminator index adf82eb6..a063b977 100755 --- a/terminator +++ b/terminator @@ -196,10 +196,10 @@ class TerminatorTerm: self._box.show() self._box.pack_start(self._titlebox, False) self._box.pack_start(self._termbox) - if self.reconf('titlebars'): - self._titlebox.show() - else: - self._titlebox.hide() + self._titlebox.show() + + if not self.reconf('titlebars'): + self._title.set_property ('visible', False) self._scrollbar = gtk.VScrollbar (self._vte.get_adjustment ()) if self.scrollbar_position != "hidden" and self.scrollbar_position != "disabled":