]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Make the dive list searching act on the location
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Sep 2011 15:17:23 +0000 (08:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Sep 2011 15:17:23 +0000 (08:17 -0700)
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>
divelist.c

index dd942f7199feaad080f261993ff80ea06a65416e..f1af80cea240c64a41b73f7eea7e5ac906871cd3 100644 (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);