aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-26 04:04:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-26 04:04:12 +0800
commitb0d5e599ce5f3b0f8a2695588a95805e19fadb79 (patch)
tree917775121509ffa7cb0b0364c535b2de4f37a9bf /mail/mail-session.c
parentd15e1ef55f64a78e47df37b98dd2d98d8bda87f9 (diff)
downloadgsoc2013-evolution-b0d5e599ce5f3b0f8a2695588a95805e19fadb79.tar.gz
gsoc2013-evolution-b0d5e599ce5f3b0f8a2695588a95805e19fadb79.tar.zst
gsoc2013-evolution-b0d5e599ce5f3b0f8a2695588a95805e19fadb79.zip
Don't make the key url:item if we have the url, just make it url. This
2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (make_key): Don't make the key url:item if we have the url, just make it url. This fixes bug #5339. (mail_session_set_password): Removed. svn path=/trunk/; revision=11411
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r--mail/mail-session.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index b0d289fbb7..c511885a9d 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -460,18 +460,3 @@ 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_string, const char *password)
-{
- GHashTable *passwords = MAIL_SESSION (session)->passwords;
- char *simple_url;
- CamelURL *url;
-
- url = camel_url_new (url_string, NULL);
- simple_url = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS);
- camel_url_free (url);
-
- g_hash_table_insert (passwords, simple_url, g_strdup (password));
-}
-