aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-26 03:05:08 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-26 03:05:08 +0800
commit56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2 (patch)
treebd2e0d1749bd71e72db1a808e7a9bc9779e9c214 /mail/mail-session.c
parent2061924fd02b4e7f3bed5d444d41b616f268d916 (diff)
downloadgsoc2013-evolution-56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2.tar
gsoc2013-evolution-56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2.tar.gz
gsoc2013-evolution-56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2.tar.bz2
gsoc2013-evolution-56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2.tar.lz
gsoc2013-evolution-56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2.tar.xz
gsoc2013-evolution-56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2.tar.zst
gsoc2013-evolution-56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2.zip
Now take a CamelService parameter (as passed by Camel). Allows us to have
2001-07-25 Peter Williams <peterw@ximian.com> * mail-mt.c (mail_get_password): Now take a CamelService parameter (as passed by Camel). Allows us to have a "remember password" checkbox that is set correctly and whose settings can be propagated back to the proper MailConfigService. (do_get_pass): Add a checkbutton allowing the user to change whether the password is remembered or not. (pass_got): Apply the setting of the "remember password" checkbutton (if not cancelled.) * mail-mt.h: Update the prototype here. * mail-config.c (mail_config_service_set_save_passwd): New function, pretty bland. * mail-config.h: Prototype our bland new function. (Get it? It's a pun!) * mail-session.c (get_password): Pass the service as well. svn path=/trunk/; revision=11408
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r--mail/mail-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 9a3e519d5e..62dc8e25a8 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -164,7 +164,7 @@ get_password (CamelSession *session, const char *prompt, gboolean secret,
}
if (!mail_session->interaction_enabled ||
- !(ans = mail_get_password (prompt, secret))) {
+ !(ans = mail_get_password (service, prompt, secret))) {
g_free (key);
camel_exception_set (ex, CAMEL_EXCEPTION_USER_CANCEL,
_("User canceled operation."));