oops, fixes bug from prev rev

This commit is contained in:
Emmanuel Bretelle 2008-06-07 15:07:26 +01:00
parent cac4852ee9
commit ebce818323
1 changed files with 4 additions and 5 deletions

View File

@ -1548,11 +1548,10 @@ class Terminator:
else: else:
self.unzoom_term (widget) self.unzoom_term (widget)
if self.conf.titlebars and \ if self.conf.titlebars and \
(\ len(self.term_list) > 1 \
len(self.term_list) > 1 \ and \
or \ (isinstance(widget, TerminatorTerm) and isinstance(widget.get_parent(),gtk.Paned))\
(isinstance(widget, TerminatorTerm) and isinstance(widget.get_parent(),gtk.Notebook))\ :
):
widget._titlebox.show() widget._titlebox.show()
widget._vte.grab_focus() widget._vte.grab_focus()