From b3c6e069647bd16d8fd66584e6b881bcb7062afd Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 7 Aug 2009 22:31:18 +0100 Subject: [PATCH] Only hide the window if we can actually bind the hide_window key --- terminatorlib/terminator.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index ef0632e1..7465119e 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -361,11 +361,10 @@ class Terminator: term.spawn_child () self.save_yourself () - if hidden or self.conf.hidden: - self.hide() - try: bindkey.tomboy_keybinder_bind(self.conf.keybindings['hide_window'],self.cbkeyCloak,term) + if hidden or self.conf.hidden: + self.hide() except: dbg (_("Unable to bind hide_window key")) pass