Re: [evolution-patches] patch for e-passwords



Sorry,
Forgot the patch.

Regards,

Jedy

On Fri, 2005-07-15 at 18:13 +0800, Jedy Wang wrote:
> Hi,
> 
> To kill a e-passwords dialog, we shall send a cancel reply, but not just
> simply destroy the widget. Because the dialog may be waiting for reply
> so probably hung the calling thread of e_passwords_ask_password.
> 
> Regards,
> 
> Jedy
> 
> 
> _______________________________________________
> evolution-patches mailing list
> evolution-patches lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-patches
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserverui/ChangeLog,v
retrieving revision 1.53
diff -u -r1.53 ChangeLog
--- ChangeLog	11 Jul 2005 08:25:32 -0000	1.53
+++ ChangeLog	15 Jul 2005 09:50:25 -0000
@@ -1,3 +1,8 @@
+2005-07-15  Jedy Wang  <jedy wang sun com>
+
+	* e-passwords.c: (e_passwords_cancel): To kill a e-password-dialog,
+	we shall send a cancel reply, but not just simply destroy the widget.
+
 2005-07-11  Sushma Rai  <rsushma novell com>
 
 	* e-name-selector-dialog.c (e_name_selector_dialog_init): Making the
Index: e-passwords.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserverui/e-passwords.c,v
retrieving revision 1.26
diff -u -r1.26 e-passwords.c
--- e-passwords.c	23 Feb 2005 18:52:12 -0000	1.26
+++ e-passwords.c	15 Jul 2005 09:50:26 -0000
@@ -521,7 +521,7 @@
 	UNLOCK();
 
 	if (password_dialog)
-		gtk_widget_destroy((GtkWidget *)password_dialog);
+		gtk_dialog_response(password_dialog,GTK_RESPONSE_CANCEL);
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]