aboutsummaryrefslogtreecommitdiff
path: root/src/summaryview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-05-19 09:24:45 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-05-19 09:24:45 +0000
commitd244531e0fa069d5962b12246c850824b85a8661 (patch)
treeed7f04d3c1b61edd476398820ad9ba3e4f21e8b1 /src/summaryview.c
parent8540bbfcd4d70cf694e762bc9f0c7c90c0a34f36 (diff)
fixed a problem that no message was selected after processing left marks.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@270 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r--src/summaryview.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index d322abec..f8f00dd8 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -572,9 +572,11 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item,
summary_unlock(summaryview);
summary_execute(summaryview);
summary_lock(summaryview);
- } else if (G_ALERTALTERNATE == val)
+ GTK_EVENTS_FLUSH();
+ } else if (G_ALERTALTERNATE == val) {
summary_write_cache(summaryview);
- else {
+ GTK_EVENTS_FLUSH();
+ } else {
summary_unlock(summaryview);
inc_unlock();
return FALSE;
@@ -1966,6 +1968,7 @@ gint summary_write_cache(SummaryView *summaryview)
buf = g_strdup_printf(_("Writing summary cache (%s)..."), item->path);
debug_print(buf);
STATUSBAR_PUSH(summaryview->mainwin, buf);
+ gdk_flush();
g_free(buf);
gtk_tree_model_foreach(GTK_TREE_MODEL(summaryview->store),