diff options
Diffstat (limited to 'src/summaryview.c')
-rw-r--r-- | src/summaryview.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/summaryview.c b/src/summaryview.c index 4043f4b5..1e9f3587 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -690,6 +690,7 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item, GTK_MOVEMENT_BUFFER_ENDS, item->sort_type == SORT_DESCENDING ? -1 : 1, &moved); + GTK_EVENTS_FLUSH(); summary_scroll_to_selected(summaryview, TRUE); } } @@ -714,6 +715,7 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item, item->sort_type == SORT_DESCENDING ? -1 : 1, &moved); summary_lock(summaryview); + GTK_EVENTS_FLUSH(); summary_scroll_to_selected(summaryview, TRUE); } } @@ -1258,13 +1260,15 @@ void summary_select_row(SummaryView *summaryview, GtkTreeIter *iter, iter); gtk_tree_view_set_cursor(GTK_TREE_VIEW(summaryview->treeview), path, NULL, FALSE); - if (do_refresh) + if (do_refresh) { + GTK_EVENTS_FLUSH(); gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW(summaryview->treeview), path, NULL, TRUE, 0.5, 0.0); - else + } else { gtkut_tree_view_scroll_to_cell (GTK_TREE_VIEW(summaryview->treeview), path); + } gtk_tree_path_free(path); } |