[nautilus/wip/csoriano/search-popover: 29/43] search-popover: update the switch when there is query



commit 38fcc7ebc904ea4994f1caecdd84cc479711118e
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]