diff options
Diffstat (limited to 'thunar')
-rw-r--r-- | thunar/thunar-tree-model.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/thunar/thunar-tree-model.c b/thunar/thunar-tree-model.c index abf85af8..b961eac2 100644 --- a/thunar/thunar-tree-model.c +++ b/thunar/thunar-tree-model.c @@ -804,6 +804,10 @@ thunar_tree_model_ref_node (GtkTreeModel *tree_model, } else { + /* do not load `Recent` to avoid slowing down the view */ + if (item->file != NULL && thunar_file_is_recent (item->file)) + return; + /* schedule a reload of the folder if it is cleaned earlier */ if (G_UNLIKELY (item->ref_count == 0)) thunar_tree_model_item_load_folder (item); |