diff options
author | Chris Toshok <toshok@ximian.com> | 2002-12-10 05:50:22 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-12-10 05:50:22 +0800 |
commit | 1c7ced323f184728440ce8e06ffcd9eea6f6d45d (patch) | |
tree | 7b700a3d0935f5779d78121d4e8cee74c1eea184 /mail/mail-session.c | |
parent | 267c9dec5c5b692830e0261a4b5dc89bcbcd577c (diff) | |
download | gsoc2013-evolution-1c7ced323f184728440ce8e06ffcd9eea6f6d45d.tar.gz gsoc2013-evolution-1c7ced323f184728440ce8e06ffcd9eea6f6d45d.tar.zst gsoc2013-evolution-1c7ced323f184728440ce8e06ffcd9eea6f6d45d.zip |
pass "Mail" to e_passwords_*. (do_get_pass): same. (main_forget_password):
2002-12-09 Chris Toshok <toshok@ximian.com>
* mail-session.c (pass_response): pass "Mail" to e_passwords_*.
(do_get_pass): same.
(main_forget_password): same.
(mail_session_get_password): same.
(mail_session_remember_password): same.
(mail_session_forget_password): same.
* mail-config.c (mail_config_write_on_exit): pass "Mail" to
e_passwords_*.
* main.c (main): e_passwords_init is gone.
svn path=/trunk/; revision=19073
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r-- | mail/mail-session.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c index 8858af01f5..4b524abdc0 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -205,7 +205,7 @@ pass_response(GtkDialog *dialogue, int button, void *data) /* should we remember it between sessions? */ if (remember) - e_passwords_remember_password (m->key); + e_passwords_remember_password ("Mail", m->key); } break; } default: @@ -284,7 +284,7 @@ do_get_pass(struct _mail_msg *mm) if (account) m->result = g_strdup(account->source->url); } else if (m->key) { - m->result = e_passwords_get_password(m->key); + m->result = e_passwords_get_password ("Mail", m->key); if (m->result == NULL) { if (mail_session->interactive) { request_password(m); @@ -359,7 +359,7 @@ main_forget_password (CamelSession *session, CamelService *service, const char * { char *key = make_key (service, item); - e_passwords_forget_password (key); + e_passwords_forget_password ("Mail", key); g_free (key); } @@ -845,7 +845,7 @@ mail_session_get_password (const char *url_string) simple_url = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS); camel_url_free (url); - passwd = e_passwords_get_password (simple_url); + passwd = e_passwords_get_password ("Mail", simple_url); g_free (simple_url); @@ -878,7 +878,7 @@ mail_session_remember_password (const char *url_string) simple_url = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS); camel_url_free (url); - e_passwords_remember_password (simple_url); + e_passwords_remember_password ("Mail", simple_url); g_free (simple_url); } @@ -886,7 +886,7 @@ mail_session_remember_password (const char *url_string) void mail_session_forget_password (const char *key) { - e_passwords_forget_password (key); + e_passwords_forget_password ("Mail", key); } void |