From fb9bc516d855e7422d6e6e3b5b93baf5238a0b38 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 18 Mar 2004 19:59:34 +0000 Subject: Make select-by-key support unsorted lists. Fuzzy matching is gone though. * lib/widgets/ephy-node-view.c: (ephy_node_view_select_node_by_key): Make select-by-key support unsorted lists. Fuzzy matching is gone though. Oh well ... :) (bug #137054) --- ChangeLog | 8 ++++++++ lib/widgets/ephy-node-view.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d4e8ca3f6..b004273a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-03-18 Xan Lopez + + * lib/widgets/ephy-node-view.c: + (ephy_node_view_select_node_by_key): + + Make select-by-key support unsorted lists. Fuzzy matching is gone + though. Oh well ... :) (bug #137054) + 2004-03-18 Piers Cornwell * src/pdm-dialog.c: (show_cookies_properties): diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c index 2e774d1f4..3cf8294a2 100644 --- a/lib/widgets/ephy-node-view.c +++ b/lib/widgets/ephy-node-view.c @@ -692,7 +692,7 @@ ephy_node_view_select_node_by_key (EphyNodeView *view, GdkEventKey *event) string = g_utf8_casefold (g_value_get_string (&value), -1); g_utf8_strncpy (string, string, 1); - found = (g_utf8_collate (string, event_string) >= 0); + found = (g_utf8_collate (string, event_string) == 0); g_free (string); g_value_unset (&value); -- cgit v1.2.3