8128: GtkDialog mapped without a transient parent
This commit is contained in:
parent
85e4a29af4
commit
76315be47d
@ -84,6 +84,7 @@ class ErrorView(object):
|
||||
self.top = Gtk.Dialog(title)
|
||||
try:
|
||||
self.top.set_transient_for(self.top.list_toplevels()[-2])
|
||||
self.top.set_keep_above(True)
|
||||
except IndexError:
|
||||
self.top.set_position(Gtk.WindowPosition.CENTER)
|
||||
self.top.set_urgency_hint(True)
|
||||
|
Loading…
Reference in New Issue
Block a user