This search engine reuses the GFileInfo that is already loaded for the file list, to ensure that hits from the current directory always appear promptly.
33b5c26 file chooser: Add and use a model search engine
gtk/Makefile.am | 2 +
gtk/gtkfilechooserwidget.c | 13 ++-
gtk/gtksearchengine.c | 57 ++++++++++++-
gtk/gtksearchengine.h | 4 +
gtk/gtksearchenginemodel.c | 191 ++++++++++++++++++++++++++++++++++++++++++++
gtk/gtksearchenginemodel.h | 44 ++++++++++
6 files changed, 306 insertions(+), 5 deletions(-)
Upstream: git.gnome.org