diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 12 | ||||
-rw-r--r-- | src/textview.c | 4 |
3 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2007-01-18 + + * src/textview.c: textview_clear(): made a workaround for the assertion + failure in gtk_text_view_validate_onscreen(). + 2007-01-17 * libsylph/filter.c: filter_apply_msginfo(): return immediately if diff --git a/ChangeLog.ja b/ChangeLog.ja index 014f377b..413afccf 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,15 @@ +2007-01-18 + + * src/textview.c: textview_clear(): gtk_text_view_validate_onscreen() + 内での assertion 失敗を回避。 + +2007-01-17 + + * libsylph/filter.c: filter_apply_msginfo(): procmsg_get_message_file() + が失敗したらすぐに戻るようにした。 + * libsylph/imap.c: imap_get_msg_list_full(): uncached_only の場合は + NULL を返すようにした。 + 2007-01-17 * libsylph/virtual.c: virtual class 構造体を修正。 diff --git a/src/textview.c b/src/textview.c index d6b2e269..051e8f3a 100644 --- a/src/textview.c +++ b/src/textview.c @@ -1256,6 +1256,10 @@ void textview_clear(TextView *textview) buffer = gtk_text_view_get_buffer(text); gtk_text_buffer_set_text(buffer, "", -1); + /* workaround for the assertion failure in + gtk_text_view_validate_onscreen() */ + text->vadjustment->value = 0.0; + STATUSBAR_POP(textview); textview_uri_list_remove_all(textview->uri_list); textview->uri_list = NULL; |