diff options
author | Peter Williams <peterw@ximian.com> | 2001-07-26 03:05:08 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-07-26 03:05:08 +0800 |
commit | 56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2 (patch) | |
tree | bd2e0d1749bd71e72db1a808e7a9bc9779e9c214 /mail/mail-config.c | |
parent | 2061924fd02b4e7f3bed5d444d41b616f268d916 (diff) | |
download | gsoc2013-evolution-56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2.tar.gz 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-config.c')
-rw-r--r-- | mail/mail-config.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index 9448b3372c..0694878022 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -1449,6 +1449,13 @@ mail_config_get_sources (void) return sources; } +void +mail_config_service_set_save_passwd (MailConfigService *service, gboolean save_passwd) +{ + service->save_passwd = save_passwd; + mail_config_write (); /*bleah*/ +} + char * mail_config_folder_to_cachename (CamelFolder *folder, const char *prefix) { |