From fe5294f9dacb1619f3a446facfbc4e49925a7823 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 25 Jan 2010 18:46:48 +0100 Subject: Bug #607595 - Do not auto-sign when replying to a signed message --- mail/em-composer-utils.c | 5 +++-- 1 file 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) -- cgit