From fa24f64b60ff1d1992d324ca3f0abc6d09b6869c Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Mon, 28 Aug 2006 20:36:01 +0000 Subject: [PATCH] Set caret position in URL bar to the end when core updates it svn path=/trunk/netsurf/; revision=2899 --- gtk/gtk_window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtk_window.c b/gtk/gtk_window.c index 561becf49..f70bac7e4 100644 --- a/gtk/gtk_window.c +++ b/gtk/gtk_window.c @@ -1048,6 +1048,7 @@ void gui_window_hide_pointer(struct gui_window *g) void gui_window_set_url(struct gui_window *g, const char *url) { gtk_entry_set_text(g->url_bar, url); + gtk_editable_set_position(GTK_EDITABLE(g->url_bar), -1); } void gui_window_start_throbber(struct gui_window* g)