aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-12-05 02:27:27 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-12-05 02:27:27 +0000
commit18a2d98aacb8dc27d06b9fbbe7da09b4fbbe4c7d (patch)
tree982b91f7d78e5f87f00980adce315d0dfbe3c8fa
parent036afe482ea58cd4a490e5418931fd93e027170d (diff)
fixed the dialog not updated while sending large messages.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1392 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.ja6
-rw-r--r--src/send_message.c3
3 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ba711e7..023b0474 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-05
+
+ * src/send_message.c: send_send_data_progressive(): win32: force
+ flushing of UI (fixes the dialog not updated while sending large
+ messages).
+
2006-12-04
* src/printing.c: implemented printing of multiple pages.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 1d81e169..b689abab 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,9 @@
+2006-12-05
+
+ * src/send_message.c: send_send_data_progressive(): win32: 強制的に
+ UI を更新するようにした(大きなメッセージの送信時にダイアログが更新
+ されなかったのを修正)。
+
2006-12-04
* src/printing.c: 複数ページの印刷を実装。
diff --git a/src/send_message.c b/src/send_message.c
index 90782384..0f86a114 100644
--- a/src/send_message.c
+++ b/src/send_message.c
@@ -688,6 +688,9 @@ static gint send_send_data_progressive(Session *session, guint cur_len,
progress_dialog_set_label(dialog->dialog, buf);
progress_dialog_set_percentage
(dialog->dialog, (gfloat)cur_len / (gfloat)total_len);
+#ifdef G_OS_WIN32
+ GTK_EVENTS_FLUSH();
+#endif
return 0;
}