From 2b1d1fdc36a85c3cd3b18cd1d24ef36e35d36504 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 9 Jan 2001 17:21:34 +0000 Subject: New function to set the password for a given url. 2001-01-09 Jeffrey Stedfast * session.c (mail_session_set_password): New function to set the password for a given url. * mail-config-druid.c (druid_finish): Don't save the password in the source url, instead insert it into the save-password hash. (mail_config_druid_get_source_url): Check to make sure the authmech isn't "", if it is then don't set the authmech. * mail-account-editor.c (apply_changes): Don't save the password in the source url, instead insert it into the save-password hash. Also check to make sure we don't set an empty string as the authmech for the source or transport. * mail-accounts.c (mail_default): After reloading the accounts, reselect the previously selected account. (mail_delete): Same. * mail-config-druid.c (druid_cancel): Fixed segfault bug. svn path=/trunk/; revision=7319 --- mail/mail-session.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-session.h') diff --git a/mail/mail-session.h b/mail/mail-session.h index 18d54c8573..a2ce0b1a10 100644 --- a/mail/mail-session.h +++ b/mail/mail-session.h @@ -40,6 +40,8 @@ void mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data, const char *path); void mail_session_remember_password (const char *url); +void mail_session_set_password (const char *url, const char *password); + extern CamelSession *session; #ifdef __cplusplus -- cgit