From 56d33b7e476a1b2a2c4fb7e947c69e1087fa13d2 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Wed, 25 Jul 2001 19:05:08 +0000 Subject: Now take a CamelService parameter (as passed by Camel). Allows us to have 2001-07-25 Peter Williams * 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 --- mail/mail-mt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-mt.h') diff --git a/mail/mail-mt.h b/mail/mail-mt.h index 81e6fe9869..e24a359b27 100644 --- a/mail/mail-mt.h +++ b/mail/mail-mt.h @@ -58,7 +58,7 @@ void mail_msg_cancel(unsigned int msgid); void mail_msg_wait(unsigned int msgid); /* request a string/password */ -char *mail_get_password (const char *prompt, gboolean secret); +char *mail_get_password (CamelService *service, const char *prompt, gboolean secret); /* present information and get an ok (or possibly cancel) * "type" is as for gnome_message_box_new(); -- cgit