aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
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-config.h
parent2061924fd02b4e7f3bed5d444d41b616f268d916 (diff)
downloadgsoc2013-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.h')
-rw-r--r--mail/mail-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index 551d6a81ff..d73e5004c5 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -162,6 +162,8 @@ void mail_config_set_message_display_style (MailConfigDisplayS
const char *mail_config_get_default_charset (void);
void mail_config_set_default_charset (const char *charset);
+void mail_config_service_set_save_passwd (MailConfigService *service, gboolean save_passwd);
+
const MailConfigAccount *mail_config_get_default_account (void);
gint mail_config_get_default_account_num (void);
const MailConfigAccount *mail_config_get_account_by_name (const char *account_name);