diff --git a/src/gtkexcepthook.py b/src/gtkexcepthook.py index 7aba6a46b..b8ed9e577 100644 --- a/src/gtkexcepthook.py +++ b/src/gtkexcepthook.py @@ -78,10 +78,8 @@ def _info(type, value, tb): dialog.vbox.add(expander) dialog.set_resizable(True) - dialog.set_position(gtk.WIN_POS_CENTER) - # on expand the details the dialog remains centered on screen - dialog.set_gravity(gtk.gdk.GRAVITY_CENTER) + dialog.set_position(gtk.WIN_POS_CENTER_ALWAYS) dialog.show_all()