filechooserentry: Don't accept completion on activate

Jason Crain requested to merge jcrain/gtk:filechooserentry-activate into master

In the FileChooserDialog, the FileChooserEntry accepts the current autocompletion when "activate" is signaled (when the enter key is pressed) and begins the next autocompletion. The FileChooserDialog is activated by the same signal so this can result in an unexpected file or folder being selected.

Add a function to gtkentrycompletion.c to optionally disable the accept completion on activate behavior and have FileChooserEntry call it.


Merge request reports