forked from AuroraMiddleware/gtk
Skip the cursor past the autocompleted part when requesting explicit completion
Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19802
This commit is contained in:
parent
45c87ed009
commit
bbb847aef7
@ -785,7 +785,14 @@ gtk_file_chooser_entry_focus (GtkWidget *widget,
|
||||
{
|
||||
gint pos = 0;
|
||||
|
||||
if (!chooser_entry->has_completion)
|
||||
if (chooser_entry->has_completion)
|
||||
{
|
||||
gint sel_end;
|
||||
|
||||
if (gtk_editable_get_selection_bounds (editable, NULL, &sel_end))
|
||||
gtk_editable_set_position (editable, sel_end);
|
||||
}
|
||||
else
|
||||
append_common_prefix (chooser_entry, FALSE);
|
||||
|
||||
/* Trigger the completion window to pop up again by a
|
||||
|
Loading…
Reference in New Issue
Block a user