From: Linus Torvalds Date: Thu, 22 Sep 2011 15:17:23 +0000 (-0700) Subject: Make the dive list searching act on the location X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;ds=inline;h=e11523110b14056f88a39bacafabb0f55aebbf89;p=ext%2Fsubsurface.git 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 --- 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);