aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-08-15 21:16:07 +0800
committerDan Winship <danw@src.gnome.org>2002-08-15 21:16:07 +0800
commitaa593c3d2f49c51ec03f5f63ecc3c88bd4c9cde3 (patch)
tree8813fded8617462780908e94d8c5dff083e51890 /mail/mail-account-gui.c
parent7dc4b13d477ea40930d0edf717b04fae4e558232 (diff)
downloadgsoc2013-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-account-gui.c')
-rw-r--r--mail/mail-account-gui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index aa92c54a78..03eb632fd9 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -1503,6 +1503,8 @@ mail_account_gui_new (MailConfigAccount *account, MailAccountsTab *dialog)
gtk_toggle_button_set_active (gui->pgp_encrypt_to_self, account->pgp_encrypt_to_self);
gui->pgp_always_sign = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui->xml, "pgp_always_sign"));
gtk_toggle_button_set_active (gui->pgp_always_sign, account->pgp_always_sign);
+ gui->pgp_no_imip_sign = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui->xml, "pgp_no_imip_sign"));
+ gtk_toggle_button_set_active (gui->pgp_no_imip_sign, account->pgp_no_imip_sign);
gui->pgp_always_trust = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui->xml, "pgp_always_trust"));
gtk_toggle_button_set_active (gui->pgp_always_trust, account->pgp_always_trust);
@@ -1926,6 +1928,7 @@ mail_account_gui_save (MailAccountGui *gui)
account->pgp_key = e_utf8_gtk_entry_get_text (gui->pgp_key);
account->pgp_encrypt_to_self = gtk_toggle_button_get_active (gui->pgp_encrypt_to_self);
account->pgp_always_sign = gtk_toggle_button_get_active (gui->pgp_always_sign);
+ account->pgp_no_imip_sign = gtk_toggle_button_get_active (gui->pgp_no_imip_sign);
account->pgp_always_trust = gtk_toggle_button_get_active (gui->pgp_always_trust);
#if defined (HAVE_NSS) && defined (SMIME_SUPPORTED)