From 1818a315b183f9520fe6de6f8ddec7ee28d22dd7 Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 9 Aug 2004 06:08:40 +0000 Subject: [PATCH] make tree view buttons clickable git-svn-id: http://ltt.polymtl.ca/svn@693 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c index 875d05f5..2da41a48 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c @@ -167,6 +167,10 @@ static void connect_focus_recursive(GtkWidget *widget, gtk_container_forall(GTK_CONTAINER(widget), (GtkCallback)connect_focus_recursive, viewer); + + } + if(GTK_IS_TREE_VIEW(widget)) { + gtk_tree_view_set_headers_clickable(widget, TRUE); } gtk_widget_add_events(widget, GDK_BUTTON_PRESS_MASK); g_signal_connect (G_OBJECT(widget), -- 2.34.1