From 255e51c00261cffea93806e4ee93859b2558eb24 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 12 Jul 2012 14:01:41 +0000 Subject: [PATCH] better center the non-glade report dialogs svn: r19992 --- src/gui/plug/report/_reportdialog.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/plug/report/_reportdialog.py b/src/gui/plug/report/_reportdialog.py index 9e5b9e6c7..e8b55d53b 100644 --- a/src/gui/plug/report/_reportdialog.py +++ b/src/gui/plug/report/_reportdialog.py @@ -166,6 +166,7 @@ class ReportDialog(ManagedWindow): self.ok = self.window.add_button(Gtk.STOCK_OK, Gtk.ResponseType.OK) self.ok.connect('clicked', self.on_ok_clicked) + self.window.set_position(Gtk.WindowPosition.CENTER) self.window.set_default_size(600, -1) # Set up and run the dialog. These calls are not in top down