From a980aec7ae53495ac5cfe2e25c7e2f0ac08ee765 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Mon, 2 Mar 2015 13:16:09 +0100 Subject: [PATCH] Remove old flag based HAS_FOCUS usage from unused method of terminator class. --- terminatorlib/terminator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index 4109e1e5..cd0f0ab2 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -462,7 +462,7 @@ class Terminator(Borg): def get_focussed_terminal(self): """iterate over all the terminals to find which, if any, has focus""" for terminal in self.terminals: - if terminal.flags()&Gtk.HAS_FOCUS: + if terminal.has_focus(): return(terminal) return(None)