diff options
author | Xan Lopez <xan@src.gnome.org> | 2003-03-10 03:36:38 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2003-03-10 03:36:38 +0800 |
commit | b30ae35bb2170c03f16a7b9eb5a62d66056bb62e (patch) | |
tree | 39ac6e08bd0f83c71b4feff607d2c01c96cd6595 | |
parent | 64f7879af2f0d3e234926d03ae1f1da711a89329 (diff) | |
download | gsoc2013-epiphany-b30ae35bb2170c03f16a7b9eb5a62d66056bb62e.tar gsoc2013-epiphany-b30ae35bb2170c03f16a7b9eb5a62d66056bb62e.tar.gz gsoc2013-epiphany-b30ae35bb2170c03f16a7b9eb5a62d66056bb62e.tar.bz2 gsoc2013-epiphany-b30ae35bb2170c03f16a7b9eb5a62d66056bb62e.tar.lz gsoc2013-epiphany-b30ae35bb2170c03f16a7b9eb5a62d66056bb62e.tar.xz gsoc2013-epiphany-b30ae35bb2170c03f16a7b9eb5a62d66056bb62e.tar.zst gsoc2013-epiphany-b30ae35bb2170c03f16a7b9eb5a62d66056bb62e.zip |
More cleaner way of length calculation from previous commit.
More cleaner way of length calculation from previous commit.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/bookmarks/ephy-keywords-entry.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2003-03-09 Xan Lopez <xan@masilla.org> + + * src/bookmarks/ephy-keywords-entry.c: (try_to_expand_keyword): + + Pass -1 instead of strlen to automatic calculation of length (this + seems to be undocumented, but it's done in the code) + 2003-03-09 Dan Damian <dandamian@gmx.net> * lib/widgets/ephy-autocompletion-window.c: diff --git a/src/bookmarks/ephy-keywords-entry.c b/src/bookmarks/ephy-keywords-entry.c index eccb83aae..5a6accf0f 100644 --- a/src/bookmarks/ephy-keywords-entry.c +++ b/src/bookmarks/ephy-keywords-entry.c @@ -126,7 +126,7 @@ try_to_expand_keyword (GtkEditable *editable) gtk_editable_insert_text (editable, insert_text, - strlen (insert_text), + -1, &position); gtk_editable_select_region (editable, user_text_length + keyword_offset, -1); } |