[evolution-patches] patch for 51470



Hello all

This is a patch for bug 51470.
In it, I try to clear the whole "mail" password rather than forget all the passwords, and avoid losing some other passwords(i.e. SunOne calendar account passwd).

Please seek it.

Best Regards
Charles Zhang

Index: mail/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2761.2.38
diff -u -p -r1.2761.2.38 ChangeLog
--- mail/ChangeLog	1 Dec 2003 22:42:11 -0000	1.2761.2.38
+++ mail/ChangeLog	15 Dec 2003 14:09:32 -0000
@@ -0,0 +0,6 @@
+2003-12-15  Charles Zhang  <charles zhang sun com>
+
+	* mail-session.c (mail_session_forget_passwords): forget only
+	"Mail" password.
+	Fixes bug #51470.
+
Index: mail/mail-session.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-session.c,v
retrieving revision 1.69
diff -u -p -r1.69 mail-session.c
--- mail/mail-session.c	11 Jun 2003 16:19:36 -0000	1.69
+++ mail/mail-session.c	15 Dec 2003 14:09:33 -0000
@@ -1033,7 +1033,7 @@ void
 mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data,
 			       const char *path)
 {
-	e_passwords_forget_passwords ();
+	e_passwords_clear_component_passwords ("Mail");
 }
 
 void


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