summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserentry.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2016-03-10 16:02:56 -0600
committerFederico Mena Quintero <federico@gnome.org>2016-03-10 16:03:52 -0600
commitedacd5d6ee89eac30891030edbb70c746bfe2fe4 (patch)
tree7fbe490c1ebf50861be3c89ad905c28d81c6f7d5 /gtk/gtkfilechooserentry.c
parent81059c35d56f277797183883f8ed2347fb0f53a8 (diff)
downloadgtk+-edacd5d6ee89eac30891030edbb70c746bfe2fe4.tar.gz
GtkFileChooserEntry: move the cursor after the user chooses a completion from the list
https://bugzilla.gnome.org/show_bug.cgi?id=756450
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r--gtk/gtkfilechooserentry.c2
1 files changed, 2 insertions, 0 deletions
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;