diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-18 22:19:36 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-01-18 22:19:36 +0800 |
commit | d7bfcbbde7eed54d83ab8f6cf384691cba144dd4 (patch) | |
tree | 6e780ee1258717437c50d0da631f566a57fc40ae | |
parent | a0245771bae2daef647b9027c6873e0f97aafa4f (diff) | |
download | gsoc2013-evolution-d7bfcbbde7eed54d83ab8f6cf384691cba144dd4.tar gsoc2013-evolution-d7bfcbbde7eed54d83ab8f6cf384691cba144dd4.tar.gz gsoc2013-evolution-d7bfcbbde7eed54d83ab8f6cf384691cba144dd4.tar.bz2 gsoc2013-evolution-d7bfcbbde7eed54d83ab8f6cf384691cba144dd4.tar.lz gsoc2013-evolution-d7bfcbbde7eed54d83ab8f6cf384691cba144dd4.tar.xz gsoc2013-evolution-d7bfcbbde7eed54d83ab8f6cf384691cba144dd4.tar.zst gsoc2013-evolution-d7bfcbbde7eed54d83ab8f6cf384691cba144dd4.zip |
Bug #553438 - Deletes lines of a reply when changing address
-rw-r--r-- | composer/e-msg-composer.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index d7fa2b618c..9f011a26e1 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1691,8 +1691,10 @@ msg_composer_account_changed_cb (EMsgComposer *composer) table = e_msg_composer_get_header_table (composer); account = e_composer_header_table_get_account (table); - if (account == NULL) - goto exit; + if (account == NULL) { + e_msg_composer_show_sig_file (composer); + return; + } can_sign = (!account->pgp_no_imip_sign || p->mime_type == NULL || g_ascii_strncasecmp (p->mime_type, "text/calendar", 13) != 0); @@ -1712,10 +1714,6 @@ msg_composer_account_changed_cb (EMsgComposer *composer) uid = account->id->sig_uid; signature = uid ? e_get_signature_by_uid (uid) : NULL; e_composer_header_table_set_signature (table, signature); - - exit: - - e_msg_composer_show_sig_file (composer); } static void |