diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-19 04:14:38 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-19 04:14:38 +0800 |
commit | 3e079da9b69b8f5c47c79bcbb269ac17cc094c6e (patch) | |
tree | 6971eef81db9bedf66efa452c56bbb648fb23efd /mail/mail-mt.h | |
parent | 704f596da37cd037d8faeba35586ef281353b217 (diff) | |
download | gsoc2013-evolution-3e079da9b69b8f5c47c79bcbb269ac17cc094c6e.tar.gz gsoc2013-evolution-3e079da9b69b8f5c47c79bcbb269ac17cc094c6e.tar.zst gsoc2013-evolution-3e079da9b69b8f5c47c79bcbb269ac17cc094c6e.zip |
Pass a 'cache-me' argument to mail_get_password.
2001-09-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-session.c (get_password): Pass a 'cache-me' argument to
mail_get_password.
* mail-mt.c (pass_got): Make less confusing...
(mail_get_password): Now takes an argument 'cache' that allows our
caller to determine if the user wanted to cache his/her password
or not.
(pass_got): Set the cache option.
svn path=/trunk/; revision=12950
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r-- | mail/mail-mt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-mt.h b/mail/mail-mt.h index e24a359b27..6ec2255bc7 100644 --- a/mail/mail-mt.h +++ b/mail/mail-mt.h @@ -58,7 +58,8 @@ void mail_msg_cancel(unsigned int msgid); void mail_msg_wait(unsigned int msgid); /* request a string/password */ -char *mail_get_password (CamelService *service, const char *prompt, gboolean secret); +char *mail_get_password (CamelService *service, const char *prompt, + gboolean secret, gboolean *cache); /* present information and get an ok (or possibly cancel) * "type" is as for gnome_message_box_new(); |