Comment 13 for bug 56825

Revision history for this message
Bruce Cowan (bruce89-deactivatedaccount) wrote :

The debdiff was screwed up, sorry. I've attached the fixed 11_session_dialog.patch instead.

I added

gtk_window_set_position (GTK_WINDOW (dialog->dialog), GTK_WIN_POS_CENTER_ALWAYS);

at ~line 490 between gtk_window_set_title (GTK_WINDOW (dialog->dialog), _("Exit")); and gtk_dialog_set_has_separator (GTK_DIALOG (dialog->dialog), FALSE);

This was inspired by r10815 of gnome panel (http://svn.gnome.org/viewvc/gnome-panel/trunk/gnome-panel/panel-logout.c?r1=10758&r2=10815). This was to make the logout dialogue in vanilla GNOME appear in the centre of the screen.