Commit ec338b0a authored by Matthias Clasen's avatar Matthias Clasen

file chooser: Don't crawl recent://

This is unnecessary - all the recent files are in the model already.
It also leads to duplicates, since our duplicate filtering is based
on g_file_equal, which does not consider recent:///blabla with
target-uri=/my/example to be the same as file:///my/example.
parent 7d91ca31
......@@ -92,7 +92,8 @@ static void
queue_if_local (SearchThreadData *data,
GFile *file)
if (!_gtk_file_consider_as_remote (file))
if (!_gtk_file_consider_as_remote (file) &&
!g_file_has_uri_scheme (file, "recent"))
g_queue_push_tail (data->directories, g_object_ref (file));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment