From 31c3b2e9f442fabe14d677d21955da5952f89767 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Sat, 18 Feb 2017 21:30:17 +0100 Subject: [PATCH] Fix an invalid call to get_child() rather than the correct get_children()[0] for a window. --- terminatorlib/terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 916d514a..71cff884 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -1182,7 +1182,7 @@ class Terminal(Gtk.VBox): def ensure_visible_and_focussed(self): """Make sure that we're visible and focussed""" window = self.get_toplevel() - topchild = window.get_child() + topchild = window.get_children()[0] maker = Factory() if maker.isinstance(topchild, 'Notebook'):