From d6b62b61d8e6fffd6fbd1160c54a1fef653024fc Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Thu, 6 Aug 2015 21:45:07 +0200 Subject: [PATCH] Minor gtk3 fix for setting urgent flag on window for highlight in task bar --- terminatorlib/terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 07f397a2..916a9d37 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -1523,7 +1523,7 @@ class Terminal(Gtk.VBox): """Set the urgency hint for our window""" if self.config['urgent_bell'] == True: window = self.get_toplevel() - if window.flags() & Gtk.TOPLEVEL: + if window.is_toplevel(): window.set_urgency_hint(True) if self.config['icon_bell'] == True: self.titlebar.icon_bell()