From e7da3e158d89997931664cdc4271bd2ac988cef2 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Sun, 19 Aug 2007 07:43:17 +0000 Subject: Make cursor be at the end of the URL when selecting entries from the 2007-08-19 Diego Escalante Urrelo * lib/widgets/ephy-location-entry.c: Make cursor be at the end of the URL when selecting entries from the completion popup. Fixes bug #466344. svn path=/trunk/; revision=7283 --- lib/widgets/ephy-location-entry.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index 1a239aff7..2cb5eb8e8 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -990,6 +990,7 @@ cursor_on_match_cb (GtkEntryCompletion *completion, entry = gtk_entry_completion_get_entry (completion); gtk_entry_set_text (GTK_ENTRY (entry), item); + gtk_editable_set_position (GTK_EDITABLE (entry), -1); g_free (item); -- cgit