From 6a5f3381a73c489965adf4d1f48bb222a531e40d Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 15 Apr 2010 20:32:25 +0100 Subject: [PATCH] Block tab creation while zoomed. Closes LP #563911 --- terminatorlib/window.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terminatorlib/window.py b/terminatorlib/window.py index e09c9ca4..2a6cfb34 100755 --- a/terminatorlib/window.py +++ b/terminatorlib/window.py @@ -163,6 +163,10 @@ class Window(Container, gtk.Window): """Make a new tab""" cwd = None + if self.get_property('term_zoomed') == True: + err("You can't create a tab while a terminal is maximised/zoomed") + return + if widget: cwd = widget.get_cwd() maker = Factory()