From: Christoph Hohmann Date: Thu, 21 Jun 2001 19:08:40 +0000 (+0000) Subject: show recipient on 'from' for all accounts X-Git-Tag: VERSION_0_5_0~64 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=0f3f5eb87d4240bc65e5ddc29db33aa3f77c6a4b show recipient on 'from' for all accounts --- diff --git a/src/summaryview.c b/src/summaryview.c index 470e35340..004dbbfe1 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -1793,14 +1793,13 @@ static void summary_set_header(gchar *text[], MsgInfo *msginfo) text[S_COL_FROM] = msginfo->fromname ? msginfo->fromname : _("(No From)"); if (prefs_common.swap_from && msginfo->from && msginfo->to && - cur_account && cur_account->address && !MSG_IS_NEWS(msginfo->flags)) { gchar *from; Xalloca(from, strlen(msginfo->from) + 1, return); strcpy(from, msginfo->from); extract_address(from); - if (!strcmp(from, cur_account->address)) { + if (account_find_mail_from_address(from)) { g_free(to); to = g_strconcat("-->", msginfo->to, NULL); text[S_COL_FROM] = to;