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 | |
parent | 6683241eb5b06bbafd20fca9d1fad0fb3ef28676 (diff) | |
download | gsoc2013-evolution-6b0d359b25ee9a1a61c3c71a8babc9c894c30156.tar gsoc2013-evolution-6b0d359b25ee9a1a61c3c71a8babc9c894c30156.tar.gz gsoc2013-evolution-6b0d359b25ee9a1a61c3c71a8babc9c894c30156.tar.bz2 gsoc2013-evolution-6b0d359b25ee9a1a61c3c71a8babc9c894c30156.tar.lz gsoc2013-evolution-6b0d359b25ee9a1a61c3c71a8babc9c894c30156.tar.xz 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
-rw-r--r-- | composer/ChangeLog | 6 | ||||
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 2 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 8 |
3 files changed, 13 insertions, 3 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 6a1f530640..3e204c2ff1 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,9 @@ +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. + 2001-08-08 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_get_message_draft): Set the diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index fe11b8c6d6..916d8014c0 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -740,7 +740,7 @@ e_msg_composer_hdrs_set_from_account (EMsgComposerHdrs *hdrs, omenu = GTK_OPTION_MENU (hdrs->priv->from.entry); default_account = mail_config_get_default_account_num (); - + /* find the item that represents the account and activate it */ l = hdrs->priv->from_options; while (l) { 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); } |