From e11523110b14056f88a39bacafabb0f55aebbf89 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 22 Sep 2011 08:17:23 -0700 Subject: [PATCH] Make the dive list searching act on the location It used to be "index 0" which originally was the date string, but not only has that changed (it's now just the dive index), it's kind of pointless to search for a date string. Signed-off-by: Linus Torvalds --- divelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/divelist.c b/divelist.c index dd942f7..f1af80c 100644 --- a/divelist.c +++ b/divelist.c @@ -481,7 +481,7 @@ GtkWidget *dive_list_create(void) fill_dive_list(); g_object_set(G_OBJECT(dive_list.tree_view), "headers-visible", TRUE, - "search-column", 0, + "search-column", DIVE_LOCATION, "rules-hint", TRUE, NULL); -- 2.43.0