aboutsummaryrefslogtreecommitdiff
path: root/src/query_search.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-03-17 07:07:34 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-03-17 07:07:34 +0000
commit35966afbd4e83fa9c2c7a0e5ebcd0f3bd7ef9ff6 (patch)
tree4ef1829d64350c3aeb85b11c59de4df9f489de3c /src/query_search.c
parentf9a79219e4b825ef25a8828cf14baa1e0e4b2cf9 (diff)
disabled auto-expand for GTK+ < 2.14.0 because of GTK+ Bug #316087.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3344 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/query_search.c')
-rw-r--r--src/query_search.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/query_search.c b/src/query_search.c
index c59d15a0..f75c717c 100644
--- a/src/query_search.c
+++ b/src/query_search.c
@@ -400,7 +400,9 @@ static void query_search_create(void)
APPEND_COLUMN(_("Folder"), COL_FOLDER, 0);
APPEND_COLUMN(_("Subject"), COL_SUBJECT, 200);
+#if GTK_CHECK_VERSION(2, 14, 0)
gtk_tree_view_column_set_expand(column, TRUE);
+#endif
APPEND_COLUMN(_("From"), COL_FROM, 180);
APPEND_COLUMN(_("Date"), COL_DATE, 0);