From edacd5d6ee89eac30891030edbb70c746bfe2fe4 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 10 Mar 2016 16:02:56 -0600 Subject: [PATCH] GtkFileChooserEntry: move the cursor after the user chooses a completion from the list https://bugzilla.gnome.org/show_bug.cgi?id=756450 --- gtk/gtkfilechooserentry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index 71c615eea4..86f143efba 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -277,6 +277,8 @@ match_selected_callback (GtkEntryCompletion *completion, -1, &pos); + gtk_editable_set_position (GTK_EDITABLE (chooser_entry), pos); + g_free (path); return TRUE;