From 8d426d1d68a29352cd96f54985731b0e929adab7 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Thu, 19 Dec 2013 23:51:30 +0100 Subject: [PATCH] Remove the unnecessary cruft left over in the windows on_focus_in related to terminal focus --- terminatorlib/window.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/terminatorlib/window.py b/terminatorlib/window.py index 2cb6f67e..be4081c4 100755 --- a/terminatorlib/window.py +++ b/terminatorlib/window.py @@ -242,14 +242,6 @@ class Window(Container, gtk.Window): """Focus has entered the window""" self.set_urgency_hint(False) term = None - if self.is_child_notebook(): - # TODO: Will need some code for the tabs active terms to work - pass - else: - if isinstance(self.last_active_term, uuid.UUID): - term = self.terminator.find_terminal_by_uuid(self.last_active_term.urn) - if term: - gobject.idle_add(term.ensure_visible_and_focussed) if not self.terminator.doing_layout: self.terminator.last_active_window = self.uuid # FIXME: Cause the terminal titlebars to update here