better center the non-glade report dialogs
svn: r19992
This commit is contained in:
parent
9e400a2ca3
commit
255e51c002
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user