From c80cb47e5cf49c7aa0b162fc509ab08fd1b17e8a Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 14 Jul 2012 20:46:42 +0200 Subject: Update XChat to r1516 --- src/fe-gtk/chanview-tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fe-gtk/chanview-tree.c') diff --git a/src/fe-gtk/chanview-tree.c b/src/fe-gtk/chanview-tree.c index 5373f21b..88d1662b 100644 --- a/src/fe-gtk/chanview-tree.c +++ b/src/fe-gtk/chanview-tree.c @@ -100,10 +100,10 @@ cv_tree_init (chanview *cv) /*gtk_widget_modify_base (view, GTK_STATE_NORMAL, &colors[COL_BG]);*/ GTK_WIDGET_UNSET_FLAGS (view, GTK_CAN_FOCUS); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (view), FALSE); -#if GTK_CHECK_VERSION(2,10,0) + if (!(prefs.gui_tweaks & 8)) gtk_tree_view_set_enable_tree_lines (GTK_TREE_VIEW (view), TRUE); -#endif + gtk_container_add (GTK_CONTAINER (win), view); /* icon column */ -- cgit 1.4.1