evolution-data-server r8379 - trunk/libedataserverui



Author: mbarnes
Date: Wed Jan 16 17:15:46 2008
New Revision: 8379
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8379&view=rev

Log:
2008-01-16  Matthew Barnes  <mbarnes redhat com>

	** Fixes bug #509644

	* libedataserverui/e-passwords.c (ep_ask_password):
	Use the correct response codes for the dialog buttons.
	Fixes some severe password breakage that slipped into 2.21.5.



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	Wed Jan 16 17:15:46 2008
@@ -873,12 +873,12 @@
 
 	widget = gtk_dialog_new_with_buttons (
 		msg->title, msg->parent, 0,
-		GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
-		GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+		GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+		GTK_STOCK_OK, GTK_RESPONSE_OK,
 		NULL);
 	gtk_dialog_set_has_separator (GTK_DIALOG (widget), FALSE);
 	gtk_dialog_set_default_response (
-		GTK_DIALOG (widget), GTK_RESPONSE_ACCEPT);
+		GTK_DIALOG (widget), GTK_RESPONSE_OK);
         gtk_window_set_resizable (GTK_WINDOW (widget), FALSE);
 	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]