aboutsummaryrefslogtreecommitdiffstats
path: root/mail/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/session.c')
-rw-r--r--mail/session.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/session.c b/mail/session.c
index 6fd85712e4..b35116d904 100644
--- a/mail/session.c
+++ b/mail/session.c
@@ -289,3 +289,9 @@ mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data,
gnome_config_private_clean_section ("/Evolution/Passwords");
gnome_config_sync ();
}
+
+void
+mail_session_set_password (const char *url, const char *password)
+{
+ g_hash_table_insert (passwords, url, g_strdup (password));
+}