center errorview dialog, and shorten it too
This commit is contained in:
parent
9c92bb8551
commit
1742d44d35
@ -84,12 +84,13 @@ class ErrorView:
|
||||
self.top = Gtk.Dialog(title)
|
||||
try:
|
||||
self.top.set_transient_for(self.top.list_toplevels()[-2])
|
||||
self.top.set_position(Gtk.WindowPosition.CENTER)
|
||||
self.top.set_keep_above(True)
|
||||
except IndexError:
|
||||
self.top.set_position(Gtk.WindowPosition.CENTER)
|
||||
self.top.set_urgency_hint(True)
|
||||
self.top.set_keep_above(True)
|
||||
self.top.set_default_size(800,-1)
|
||||
self.top.set_default_size(600,-1)
|
||||
vbox = self.top.get_content_area()
|
||||
vbox.set_spacing(5)
|
||||
self.top.set_border_width(12)
|
||||
|
Loading…
Reference in New Issue
Block a user