aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2005-07-10 05:48:41 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-07-10 05:48:41 +0800
commitb60fa57c130d53cfb5154080f3ad5097e62a6fdd (patch)
treeee34b185af06aed27f85dfd22470146a3aab7861
parent3c6deb0840968471a8f50b35fffec58d1057217e (diff)
downloadgsoc2013-epiphany-b60fa57c130d53cfb5154080f3ad5097e62a6fdd.tar
gsoc2013-epiphany-b60fa57c130d53cfb5154080f3ad5097e62a6fdd.tar.gz
gsoc2013-epiphany-b60fa57c130d53cfb5154080f3ad5097e62a6fdd.tar.bz2
gsoc2013-epiphany-b60fa57c130d53cfb5154080f3ad5097e62a6fdd.tar.lz
gsoc2013-epiphany-b60fa57c130d53cfb5154080f3ad5097e62a6fdd.tar.xz
gsoc2013-epiphany-b60fa57c130d53cfb5154080f3ad5097e62a6fdd.tar.zst
gsoc2013-epiphany-b60fa57c130d53cfb5154080f3ad5097e62a6fdd.zip
Uppercase letters shouldn't breaks history autocompletion. Fix Bug
2005-07-09 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Uppercase letters shouldn't breaks history autocompletion. Fix Bug #308236.
-rw-r--r--ChangeLog7
-rw-r--r--lib/widgets/ephy-location-entry.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ed85ad63a..6417a954b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-07-09 Jean-François Rameau <jframeau@cvs.gnome.org>
+
+ * lib/widgets/ephy-location-entry.c: (completion_func):
+
+ Uppercase letters shouldn't breaks history autocompletion.
+ Fix Bug #308236.
+
2005-07-09 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-find-toolbar.c: (entry_changed_cb):
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 63ca5cb38..94033d8f6 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -316,7 +316,7 @@ completion_func (GtkEntryCompletion *completion,
-1);
len_key = strlen (key);
- if (!strncmp (key, item, len_key))
+ if (!strncasecmp (key, item, len_key))
{
ret = TRUE;
}
@@ -330,7 +330,7 @@ completion_func (GtkEntryCompletion *completion,
{
len_prefix = web_prefixes[i].len;
if (!strncmp (web_prefixes[i].prefix, item, len_prefix) &&
- !strncmp (key, item + len_prefix, len_key))
+ !strncasecmp (key, item + len_prefix, len_key))
{
ret = TRUE;
break;