diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-08-10 03:10:45 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-08-10 03:10:45 +0800 |
commit | 6b0d359b25ee9a1a61c3c71a8babc9c894c30156 (patch) | |
tree | 932b7a9ae938dace102e56d38f8c5b5c89edc37d /composer/e-msg-composer.c | |
parent | 6683241eb5b06bbafd20fca9d1fad0fb3ef28676 (diff) | |
download | gsoc2013-evolution-6b0d359b25ee9a1a61c3c71a8babc9c894c30156.tar.gz gsoc2013-evolution-6b0d359b25ee9a1a61c3c71a8babc9c894c30156.tar.zst gsoc2013-evolution-6b0d359b25ee9a1a61c3c71a8babc9c894c30156.zip |
Set the smime/pgp always-sign options when here so it updates when the
2001-08-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (from_changed_cb): Set the smime/pgp
always-sign options when here so it updates when the user changes
his/her identity.
svn path=/trunk/; revision=11840
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index aac2d45cc9..072ebc7f8f 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1888,13 +1888,17 @@ hdrs_changed_cb (EMsgComposerHdrs *hdrs, } static void -from_changed_cb (EMsgComposerHdrs *hdrs, - void *data) +from_changed_cb (EMsgComposerHdrs *hdrs, void *data) { EMsgComposer *composer; composer = E_MSG_COMPOSER (data); + if (hdrs->account) { + e_msg_composer_set_pgp_sign (composer, hdrs->account->pgp_always_sign); + e_msg_composer_set_smime_sign (composer, hdrs->account->smime_always_sign); + } + e_msg_composer_show_sig_file (composer); } |