diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-01-05 09:25:15 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-01-05 09:25:15 +0000 |
commit | 92c97242223da3c1afe66e9f3000c243abddad0f (patch) | |
tree | 7a185c9227f7e8589364050ecbd5c7da807bff8c | |
parent | 1a52f5f2d153bbae0f630930e17c0b7492be9cec (diff) |
fixes wrong unread number display.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2774 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/folderview.c | 1 | ||||
-rw-r--r-- | src/inc.c | 3 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2011-01-05 + + * src/inc.c: always update summary even when + prefs_common.open_inbox_on_inc is true (fixes wrong unread number + display). + 2010-12-24 * version 3.1.0beta6 diff --git a/src/folderview.c b/src/folderview.c index 467b5727..048ed9a1 100644 --- a/src/folderview.c +++ b/src/folderview.c @@ -1383,6 +1383,7 @@ static void folderview_update_row(FolderView *folderview, GtkTreeIter *iter) COL_FOREGROUND, foreground, COL_BOLD, weight, -1); + /* g_print("folderview_update_row: %s: %s\n", item->path, name); */ g_free(name); item->updated = FALSE; @@ -175,7 +175,6 @@ static void inc_finished(MainWindow *mainwin, gint new_messages) item = cur_account && cur_account->inbox ? folder_find_item_from_identifier(cur_account->inbox) : folder_get_default_inbox(); - folderview_unselect(mainwin->folderview); folderview_select(mainwin->folderview, item); } else if (prefs_common.scan_all_after_inc) { item = mainwin->summaryview->folder_item; @@ -651,7 +650,7 @@ static void inc_session_destroy(IncSession *session) static void inc_update_folder_foreach(GHashTable *table) { procmsg_flush_folder_foreach(table); - folderview_update_item_foreach(table, !prefs_common.open_inbox_on_inc); + folderview_update_item_foreach(table, TRUE); } static gint inc_start(IncProgressDialog *inc_dialog) |