aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2004-03-19 03:59:34 +0800
committerXan Lopez <xan@src.gnome.org>2004-03-19 03:59:34 +0800
commitfb9bc516d855e7422d6e6e3b5b93baf5238a0b38 (patch)
tree0366aca19c63da39bd5be5f896ab7aab2af7e7a7
parentfeeb765e424dbbdeb63445f2d3ea63b5feb8dbfb (diff)
downloadgsoc2013-epiphany-fb9bc516d855e7422d6e6e3b5b93baf5238a0b38.tar
gsoc2013-epiphany-fb9bc516d855e7422d6e6e3b5b93baf5238a0b38.tar.gz
gsoc2013-epiphany-fb9bc516d855e7422d6e6e3b5b93baf5238a0b38.tar.bz2
gsoc2013-epiphany-fb9bc516d855e7422d6e6e3b5b93baf5238a0b38.tar.lz
gsoc2013-epiphany-fb9bc516d855e7422d6e6e3b5b93baf5238a0b38.tar.xz
gsoc2013-epiphany-fb9bc516d855e7422d6e6e3b5b93baf5238a0b38.tar.zst
gsoc2013-epiphany-fb9bc516d855e7422d6e6e3b5b93baf5238a0b38.zip
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)
-rw-r--r--ChangeLog8
-rw-r--r--lib/widgets/ephy-node-view.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d4e8ca3f6..b004273a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-03-18 Xan Lopez <xan@gnome.org>
+
+ * 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 <piers@gnome.org>
* 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);