diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-02-03 04:33:28 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-02-03 04:33:28 +0000 |
commit | a93e809bcdab03b7c9458e18d9f382c96354e085 (patch) | |
tree | 5b64ba69e513b43adae547b89c21525e04ef2905 | |
parent | bbd01399b88a360fde6446083d1a35cdebbc8de3 (diff) |
re-enabled workaround of last-row problem of summary view on GTK+ 2.8.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@969 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/summaryview.c | 4 |
3 files changed, 13 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2006-02-03 + * src/summaryview.c: summary_row_expanded(): re-enabled workaround + on GTK+ 2.8. + +2006-02-03 + * src/mimeview.c: mimeview_show_mime_part(): show filenames with normal font. diff --git a/ChangeLog.ja b/ChangeLog.ja index 1cfad9c7..1cd4eef8 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,10 @@ 2006-02-03 + * src/summaryview.c: summary_row_expanded(): workaround を GTK+ 2.8 + で再び有効にした。 + +2006-02-03 + * src/mimeview.c: mimeview_show_mime_part(): ファイル名を通常のフォント で表示。 diff --git a/src/summaryview.c b/src/summaryview.c index 9dcf2215..a11f9deb 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -5463,7 +5463,9 @@ static void summary_row_expanded(GtkTreeView *treeview, GtkTreeIter *iter, summary_set_bold_recursive(summaryview, iter); /* workaround for last row expand problem */ -#if !GTK_CHECK_VERSION(2, 8, 0) +#if GTK_CHECK_VERSION(2, 8, 0) + gtk_widget_queue_resize(GTK_WIDGET(treeview)); +#else g_object_set(treeview, "fixed-height-mode", FALSE, NULL); gtk_widget_queue_resize(GTK_WIDGET(treeview)); g_object_set(treeview, "fixed-height-mode", TRUE, NULL); |