summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-22 08:17:23 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-22 08:17:23 -0700
commite11523110b14056f88a39bacafabb0f55aebbf89 (patch)
tree80286c7668e684ea0197cd9c2c5496a722ebbdf1
parentd7ca4c6554f538eef96626977ffccc1789fcec16 (diff)
downloadsubsurface-e11523110b14056f88a39bacafabb0f55aebbf89.tar.gz
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>
-rw-r--r--divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c
index dd942f719..f1af80cea 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);