aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/undo.c6
3 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 137e6030..6144141e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-11-06
+ * src/undo.c: fixed a bug that text was not redrawn on the undo of
+ large text.
+
+2006-11-06
+
* libsylph/procmsg.c: procmsg_print_message(): fixed a crash when
printing a message with empty Subject, From, and To (thanks to
Jonathan Woithe).
diff --git a/ChangeLog.ja b/ChangeLog.ja
index b1913ecd..58c57b49 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2006-11-06
+ * src/undo.c: 大きなテキストのアンドゥでテキストが再描画されない
+ バグを修正しました。
+
+2006-11-06
+
* libsylph/procmsg.c: procmsg_print_message(): 空の Subject, From, To
があるメッセージを印刷するとクラッシュするバグを修正 (Jonathan
Woithe さん thanks)。
diff --git a/src/undo.c b/src/undo.c
index 1925f19b..492a746e 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2001 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -423,6 +423,8 @@ void undo_undo(UndoMain *undostruct)
break;
}
+ gtk_widget_queue_draw(GTK_WIDGET(textview));
+
undostruct->change_state_func(undostruct,
UNDO_STATE_UNCHANGED, UNDO_STATE_TRUE,
undostruct->change_state_data);
@@ -513,6 +515,8 @@ void undo_redo(UndoMain *undostruct)
break;
}
+ gtk_widget_queue_draw(GTK_WIDGET(textview));
+
undostruct->change_state_func(undostruct,
UNDO_STATE_TRUE, UNDO_STATE_UNCHANGED,
undostruct->change_state_data);