diff options
author | Dan Winship <danw@src.gnome.org> | 2002-08-15 21:16:07 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-08-15 21:16:07 +0800 |
commit | aa593c3d2f49c51ec03f5f63ecc3c88bd4c9cde3 (patch) | |
tree | 8813fded8617462780908e94d8c5dff083e51890 /mail/mail-config.c | |
parent | 7dc4b13d477ea40930d0edf717b04fae4e558232 (diff) | |
download | gsoc2013-evolution-aa593c3d2f49c51ec03f5f63ecc3c88bd4c9cde3.tar.gz gsoc2013-evolution-aa593c3d2f49c51ec03f5f63ecc3c88bd4c9cde3.tar.zst gsoc2013-evolution-aa593c3d2f49c51ec03f5f63ecc3c88bd4c9cde3.zip |
Add a "don't sign meeting requests" option to the security pane, since
* mail-config.glade: Add a "don't sign meeting requests" option to
the security pane, since some versions of Outlook won't recognize
pgp-signed meeting requests. Sigh.
* mail-config.c (account_copy, config_read, mail_config_write):
Handle pgp_no_imip_sign.
* mail-account-gui.c (mail_account_gui_new,
mail_account_gui_save): Setup/save "don't sign meeting requests"
button.
svn path=/trunk/; revision=17778
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index 0db4017ad8..4e28486af8 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -268,6 +268,7 @@ account_copy (const MailConfigAccount *account) new->pgp_key = g_strdup (account->pgp_key); new->pgp_encrypt_to_self = account->pgp_encrypt_to_self; new->pgp_always_sign = account->pgp_always_sign; + new->pgp_no_imip_sign = account->pgp_no_imip_sign; new->pgp_always_trust = account->pgp_always_trust; new->smime_key = g_strdup (account->smime_key); @@ -689,6 +690,11 @@ config_read (void) config->db, path, FALSE, NULL); g_free (path); + path = g_strdup_printf ("/Mail/Accounts/account_pgp_no_imip_sign_%d", i); + account->pgp_no_imip_sign = bonobo_config_get_boolean_with_default ( + config->db, path, FALSE, NULL); + g_free (path); + path = g_strdup_printf ("/Mail/Accounts/account_pgp_encrypt_to_self_%d", i); account->pgp_encrypt_to_self = bonobo_config_get_boolean_with_default ( config->db, path, TRUE, NULL); @@ -1086,6 +1092,10 @@ mail_config_write (void) bonobo_config_set_boolean (config->db, path, account->pgp_always_sign, NULL); g_free (path); + path = g_strdup_printf ("/Mail/Accounts/account_pgp_no_imip_sign_%d", i); + bonobo_config_set_boolean (config->db, path, account->pgp_no_imip_sign, NULL); + g_free (path); + path = g_strdup_printf ("/Mail/Accounts/account_pgp_encrypt_to_self_%d", i); bonobo_config_set_boolean (config->db, path, account->pgp_encrypt_to_self, NULL); |