evolution-data-server r8736 - trunk/libedataserverui
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8736 - trunk/libedataserverui
- Date: Mon, 5 May 2008 16:10:47 +0100 (BST)
Author: mbarnes
Date: Mon May 5 15:10:46 2008
New Revision: 8736
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8736&view=rev
Log:
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.
Modified:
trunk/libedataserverui/ChangeLog
trunk/libedataserverui/e-passwords.c
Modified: trunk/libedataserverui/e-passwords.c
==============================================================================
--- trunk/libedataserverui/e-passwords.c (original)
+++ trunk/libedataserverui/e-passwords.c Mon May 5 15:10:46 2008
@@ -990,6 +990,8 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]