changeset 1027:314665261dbe trunk

[svn] - If GTK is going to show its own search box for the JTF treeview, at least make it search the correct column
author nhjm449
date Thu, 11 May 2006 20:58:33 -0700
parents 1a73946ddfbd
children 872e802cb1c0
files audacious/mainwin.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/mainwin.c	Wed May 10 19:13:49 2006 -0700
+++ b/audacious/mainwin.c	Thu May 11 20:58:33 2006 -0700
@@ -1760,6 +1760,8 @@
     gtk_tree_view_column_set_spacing(column, 4);
     gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column);
 
+    gtk_tree_view_set_search_column(GTK_TREE_VIEW(treeview), 1);
+
     g_signal_connect(treeview, "row-activated",
                      G_CALLBACK(mainwin_jump_to_file_jump), NULL);