2008-05-05 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #325882
* libedataserverui/e-passwords.c (ep_ask_password):
If a parent window was given, make the password dialog transient for
the parent and center it over the parent.
svn path=/trunk/; revision=8736
+2008-05-05 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #325882
+
+ * e-passwords.c (ep_ask_password):
+ If a parent window was given, make the password dialog transient for
+ the parent and center it over the parent.
+
2008-04-30 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #520532
gtk_dialog_set_default_response (
GTK_DIALOG (widget), GTK_RESPONSE_OK);
gtk_window_set_resizable (GTK_WINDOW (widget), FALSE);
+ gtk_window_set_transient_for (GTK_WINDOW (widget), msg->parent);
+ gtk_window_set_position (GTK_WINDOW (widget), GTK_WIN_POS_CENTER_ON_PARENT);
gtk_container_set_border_width (GTK_CONTAINER (widget), 12);
password_dialog = GTK_DIALOG (widget);