aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-11-06 08:27:08 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-11-06 08:27:08 +0000
commit6605977726961165229e7bc654b12e115f06bed0 (patch)
tree8cdd075c509fbd8d3cb998086d6ecd8ff856dab4 /src
parent9bb800a49acaef0dc19916e5ae00c941292d2515 (diff)
undo.c: fixed a bug that text was not redrawn on the undo of large text.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1267 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/undo.c6
1 files changed, 5 insertions, 1 deletions
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);