[nautilus] search-directory: don't force a restart of the search on force reload
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] search-directory: don't force a restart of the search on force reload
- Date: Tue, 17 Jul 2012 01:56:19 +0000 (UTC)
commit 796e2354974af83511eb91b952f054671170436c
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jul 16 21:39:27 2012 -0400
search-directory: don't force a restart of the search on force reload
Just stop the current search, since a new search will be started as soon
as a monitor is added.
libnautilus-private/nautilus-search-directory.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-search-directory.c b/libnautilus-private/nautilus-search-directory.c
index 304dd66..59d4bba 100644
--- a/libnautilus-private/nautilus-search-directory.c
+++ b/libnautilus-private/nautilus-search-directory.c
@@ -604,8 +604,7 @@ search_force_reload (NautilusDirectory *directory)
if (search->details->search_running) {
nautilus_search_engine_stop (search->details->engine);
- nautilus_search_engine_set_query (search->details->engine, search->details->query);
- nautilus_search_engine_start (search->details->engine);
+ search->details->search_running = FALSE;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]