diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/account_dialog.c | 1 | ||||
-rw-r--r-- | src/folderview.c | 2 | ||||
-rw-r--r-- | src/summaryview.c | 5 |
3 files changed, 5 insertions, 3 deletions
diff --git a/src/account_dialog.c b/src/account_dialog.c index c93ff11e..5826ed4e 100644 --- a/src/account_dialog.c +++ b/src/account_dialog.c @@ -224,6 +224,7 @@ void account_open(PrefsAccount *ac_prefs) account_write_config_all(); account_set_menu(); main_window_reflect_prefs_all(); + account_updated(); } void account_set_missing_folder(void) diff --git a/src/folderview.c b/src/folderview.c index 52184244..8dca27ae 100644 --- a/src/folderview.c +++ b/src/folderview.c @@ -2440,6 +2440,7 @@ static void folderview_rm_imap_server_cb(FolderView *folderview, guint action, account = item->folder->account; folder_destroy(item->folder); account_destroy(account); + account_write_config_all(); sel_path = gtk_tree_row_reference_get_path(folderview->selected); if (sel_path) { @@ -2631,6 +2632,7 @@ static void folderview_rm_news_server_cb(FolderView *folderview, guint action, account = item->folder->account; folder_destroy(item->folder); account_destroy(account); + account_write_config_all(); sel_path = gtk_tree_row_reference_get_path(folderview->selected); if (sel_path) { 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); } |