[nautilus] search-directory: don't mark as all_files_seen on hits ready
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] search-directory: don't mark as all_files_seen on hits ready
- Date: Fri, 22 Jan 2016 14:22:53 +0000 (UTC)
commit 47a09986fbb6cc96d7412aab36dd4bf1886fd5c3
Author: Carlos Soriano <csoriano gnome org>
Date: Fri Jan 22 15:02:28 2016 +0100
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.
libnautilus-private/nautilus-search-directory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-search-directory.c b/libnautilus-private/nautilus-search-directory.c
index a920a85..11ca054 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]