diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-12-20 08:05:18 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-12-20 08:05:18 +0000 |
commit | 8945c06437dca9a40882ccd7a768c63c47a70366 (patch) | |
tree | 0176f83aca430bbcfc834518bb591ca475e6ab39 /src/summaryview.c | |
parent | 83023f81b011ac5957c7f7077feedba5e22dfb54 (diff) |
look for all accounts when enable_swap_from is enabled.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@845 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r-- | src/summaryview.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/summaryview.c b/src/summaryview.c index f30bc735..bf10d2a7 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -1881,13 +1881,12 @@ static void summary_set_row(SummaryView *summaryview, GtkTreeIter *iter, date_s = msginfo->date; else date_s = _("(No Date)"); - if (prefs_common.swap_from && msginfo->from && msginfo->to && - cur_account && cur_account->address) { + if (prefs_common.swap_from && msginfo->from && msginfo->to) { gchar *from; Xstrdup_a(from, msginfo->from, return); extract_address(from); - if (!strcmp(from, cur_account->address)) + if (account_address_exist(from)) sw_from_s = g_strconcat("-->", msginfo->to, NULL); } |