summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-01-22 15:02:28 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-01-22 15:20:16 +0100
commit47a09986fbb6cc96d7412aab36dd4bf1886fd5c3 (patch)
treebe1a590e61cac11a6f998dfc1f0ebedba1d83536
parent3392c2ed259bd0a76171f2deac893057fa31e5fe (diff)
downloadnautilus-47a09986fbb6cc96d7412aab36dd4bf1886fd5c3.tar.gz
search-directory: don't mark as all_files_seen on hits ready
We were marking as all_files_seen when hits were added, so the view will react on it and display the files that were recently added. However, that's not consistent, and the view calls done_loading if all files are seen. This has, as a UI effect, removing the floating bar, and therefore any hint that the view is still loading/searching. So let's be consistent here and in the upcoming patch we will fix this issue with the search.
-rw-r--r--libnautilus-private/nautilus-search-directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-search-directory.c b/libnautilus-private/nautilus-search-directory.c
index a920a8589..11ca054b6 100644
--- a/libnautilus-private/nautilus-search-directory.c
+++ b/libnautilus-private/nautilus-search-directory.c
@@ -594,7 +594,7 @@ search_engine_hits_added (NautilusSearchEngine *engine, GList *hits,
nautilus_file_emit_changed (file);
nautilus_file_unref (file);
- on_search_directory_search_ready_and_valid (search);
+ search_directory_add_pending_files_callbacks (search);
}
static void