aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-10 05:35:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-10 05:35:11 +0800
commit29315f8157b6cab9b8876eeea92356241970a536 (patch)
treee67e7210964457abc89897ca1dd826616f511c6b /mail/mail-config.h
parentebd5da4c959c595723d3d4d48cf8ef0978162177 (diff)
downloadgsoc2013-evolution-29315f8157b6cab9b8876eeea92356241970a536.tar
gsoc2013-evolution-29315f8157b6cab9b8876eeea92356241970a536.tar.gz
gsoc2013-evolution-29315f8157b6cab9b8876eeea92356241970a536.tar.bz2
gsoc2013-evolution-29315f8157b6cab9b8876eeea92356241970a536.tar.lz
gsoc2013-evolution-29315f8157b6cab9b8876eeea92356241970a536.tar.xz
gsoc2013-evolution-29315f8157b6cab9b8876eeea92356241970a536.tar.zst
gsoc2013-evolution-29315f8157b6cab9b8876eeea92356241970a536.zip
Update to pass in the `remember' argument when creating a new pgp context.
2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Update to pass in the `remember' argument when creating a new pgp context. (mail_crypto_pgp_mime_part_verify): Same. (mail_crypto_pgp_mime_part_encrypt): And here... (mail_crypto_pgp_mime_part_decrypt): And finally here. * mail-config.c (mail_config_get_remember_pgp_passphrase): New. (mail_config_set_remember_pgp_passphrase): New. (config_read): Read in the "remember passphrase" value. (mail_config_write_on_exit): Save the remember-passphrase value. * mail-accounts.c (construct): Allow the user to set "Remember PGP Passphrase". (remember_pgp_passphrase_toggled): Set the toggle state. svn path=/trunk/; revision=10933
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r--mail/mail-config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index 4a3167f6b9..0d012ec046 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -145,6 +145,9 @@ void mail_config_set_pgp_type (CamelPgpType pgp_type);
const char *mail_config_get_pgp_path (void);
void mail_config_set_pgp_path (const char *pgp_path);
+gboolean mail_config_get_remember_pgp_passphrase (void);
+void mail_config_set_remember_pgp_passphrase (gboolean value);
+
MailConfigHTTPMode mail_config_get_http_mode (void);
void mail_config_set_http_mode (MailConfigHTTPMode);