GNOME Bugzilla – Bug 144631
preferences dialog should be center on the parent window
Last modified: 2005-06-25 02:13:19 UTC
as summary says
Created attachment 35286 [details] [review] This attachment contains a patch that displays the preferences dialog in the center. This patch makes the preferences dialog display in the center. Here is the Change Log Entry 2004-12-30 Naveen & Team < naveenchandranv@gmail.com > * Fixed bug #144631 (http://bugzilla.gnome.org/show_bug.cgi?id=144631). Displays the EOG Preferences window in the center.
ping
the above patch is bogus: among it centers the window on the screen not on the parent instance. The follwing patch fixes the bug properly doing the following things: - Change the preferences from being a GtkWindow to being a proper GtkDialog in the glade file - change the api in order to pass the parent GtkWindow to the pref dialog - set the pref dialog transient to the parent (note glade insisted in adding some more stuff in the diff, I didn't trim so that the patch applyes cleanly)
Created attachment 48281 [details] [review] patch
Applied Paolo's patch, thanks Paolo and Naveen.