[nautilus] search-engine-simple: make sure to query for IS_BACKUP attribute



commit f69aaee3948e3621b696dfd6cbddcbdaaa9dfccc
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jan 16 13:25:39 2013 -0500

    search-engine-simple: make sure to query for IS_BACKUP attribute
    
    Or we will fail to filter out backup files from search results.

 .../nautilus-search-engine-simple.c                |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-search-engine-simple.c b/libnautilus-private/nautilus-search-engine-simple.c
index 84b08f7..87ff363 100644
--- a/libnautilus-private/nautilus-search-engine-simple.c
+++ b/libnautilus-private/nautilus-search-engine-simple.c
@@ -191,6 +191,7 @@ send_batch (SearchThreadData *thread_data)
 #define STD_ATTRIBUTES \
 	G_FILE_ATTRIBUTE_STANDARD_NAME "," \
 	G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME "," \
+	G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP "," \
 	G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN "," \
 	G_FILE_ATTRIBUTE_STANDARD_TYPE "," \
 	G_FILE_ATTRIBUTE_TIME_MODIFIED "," \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]