aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-01-26 01:46:48 +0800
committerMilan Crha <mcrha@redhat.com>2010-01-26 01:46:48 +0800
commitfe5294f9dacb1619f3a446facfbc4e49925a7823 (patch)
tree06db91ee379d42ec98ca6ea6ab16145528ccedfe /mail/em-composer-utils.c
parent6dcf4ec1277fe877dde44cb3015222495cdc6b15 (diff)
downloadgsoc2013-evolution-fe5294f9dacb1619f3a446facfbc4e49925a7823.tar.gz
gsoc2013-evolution-fe5294f9dacb1619f3a446facfbc4e49925a7823.tar.zst
gsoc2013-evolution-fe5294f9dacb1619f3a446facfbc4e49925a7823.zip
Bug #607595 - Do not auto-sign when replying to a signed message
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index c90097f80a..80a86205a3 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1067,13 +1067,14 @@ emu_update_composers_security (EMsgComposer *composer, guint32 validity_found)
g_return_if_fail (composer != NULL);
- if (validity_found & EM_FORMAT_VALIDITY_FOUND_SIGNED) {
+ /* Pre-set only for encrypted messages, not for signed */
+ /*if (validity_found & EM_FORMAT_VALIDITY_FOUND_SIGNED) {
if (validity_found & EM_FORMAT_VALIDITY_FOUND_SMIME)
action = GTK_TOGGLE_ACTION (E_COMPOSER_ACTION_SMIME_SIGN (composer));
else
action = GTK_TOGGLE_ACTION (E_COMPOSER_ACTION_PGP_SIGN (composer));
gtk_toggle_action_set_active (action, TRUE);
- }
+ }*/
if (validity_found & EM_FORMAT_VALIDITY_FOUND_ENCRYPTED) {
if (validity_found & EM_FORMAT_VALIDITY_FOUND_SMIME)