From 1742d44d35d9ed635df6e96e17e36b54c86570ed Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sat, 17 Dec 2016 18:27:57 -0800 Subject: [PATCH] center errorview dialog, and shorten it too --- gramps/gui/logger/_errorview.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gui/logger/_errorview.py b/gramps/gui/logger/_errorview.py index 0bdedd8ea..d2df09062 100644 --- a/gramps/gui/logger/_errorview.py +++ b/gramps/gui/logger/_errorview.py @@ -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)