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 <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2011-09-22 08:17:23 -07:00
parent d7ca4c6554
commit e11523110b

View file

@ -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);