summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-01-31 17:41:25 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-02-02 22:22:38 +0100
commitfe3ee68db3409ba04b20a3192bd064250f1412ca (patch)
treee7fe5625a7e8d05a1b2db026f65f30307df40f55
parenta2e235e1cb512ebf0570f2957e190acff784747c (diff)
downloadnautilus-fe3ee68db3409ba04b20a3192bd064250f1412ca.tar.gz
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.
-rw-r--r--src/nautilus-search-popover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-search-popover.c b/src/nautilus-search-popover.c
index 818fc5104..bcbbdc6e5 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;