Don't filter the completion results for the roots
We don't even initiate the load-a-folder-to-do-completion procedure if the folder is not in the roots. By the time we get to populate_completion_store(), we know that the current folder *is* allowed to be viewed. See start_loading_current_folder(). Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
@@ -1344,9 +1344,6 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
|
||||
|
||||
file = tmp_list->data;
|
||||
|
||||
if (!is_file_in_roots (chooser_entry, file))
|
||||
continue;
|
||||
|
||||
info = _gtk_folder_get_info (chooser_entry->current_folder, file);
|
||||
|
||||
if (info)
|
||||
|
||||
Reference in New Issue
Block a user