[nautilus/wip/csoriano/search-popover] search-popover: update the switch when there is query
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/csoriano/search-popover] search-popover: update the switch when there is query
- Date: Mon, 1 Feb 2016 14:34:43 +0000 (UTC)
commit 40b987c1344d01fe96e30d5e119969c99f66745d
Author: Carlos Soriano <csoriano gnome org>
Date: Sun Jan 31 17:41:25 2016 +0100
search-popover: update the switch when there is query
We need to update the switch also when there is already a query,
since the query can change location and we would want to update
the backing setting to reflect if the file is remote or not.
src/nautilus-search-popover.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-search-popover.c b/src/nautilus-search-popover.c
index 818fc51..bcbbdc6 100644
--- a/src/nautilus-search-popover.c
+++ b/src/nautilus-search-popover.c
@@ -302,7 +302,7 @@ static void
update_recursive_switch (NautilusSearchPopover *popover,
GFile *location)
{
- if (!popover->query && location)
+ if (location)
{
NautilusFile *file;
gboolean active;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]