Minor gtk3 fix for setting urgent flag on window for highlight in task bar
This commit is contained in:
parent
ea7010612f
commit
d6b62b61d8
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user