diff options
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); } |