summaryrefslogtreecommitdiff
path: root/gtk/gtksearchenginemodel.c
Commit message (Collapse)AuthorAgeFilesLines
* gtk: Drop the "plus"Emmanuele Bassi2019-02-051-1/+1
| | | | Source names should use "[gtk]" without the plus.
* Replace gdk_threads_add_idle* with g_idle_add()Emmanuele Bassi2018-02-031-1/+1
| | | | | | | | | | | | | | | The main GDK thread lock is not portable and deprecated. The only reason why gdk_threads_add_idle() and gdk_threads_add_idle_full() exist is to allow invoking a callback with the GDK lock held, in case 3rd party libraries still use the deprecated gdk_threads_enter()/gdk_threads_leave() API. Since we're removing the GDK lock, and we're releasing a new major API, such code cannot exist any more; this means we can use the GLib API for installing idle callbacks. https://bugzilla.gnome.org/show_bug.cgi?id=793124
* gtk: Mark internal functions as staticEmmanuele Bassi2016-10-171-1/+1
| | | | These functions are only used within their compilation unit.
* searc engine model: Set name on idleMatthias Clasen2015-08-151-1/+2
| | | | | Use gdk_threads_add_idle, and set a name on the source to aid debugging, as we do everywhere else.
* Avoid more GFile<>uri roundtripsMatthias Clasen2015-07-271-1/+1
| | | | | | Make GtkSearchHit carry a GFile instead of an uri. Most of the search engines already have the object around, and converting to an uri and back is unnecessary extra work.
* Port to GtkSearchHitMatthias Clasen2015-07-271-18/+13
| | | | | | GtkSearchEngineModel was still trying to return uris as hits. This is not working anymore, we are expected to return GtkSearchHit structs.
* file chooser: Add and use a model search engineMatthias Clasen2015-07-041-0/+191
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.