[nautilus] search-engine-simple: always include hidden files



commit a0c25091311239bf1ef94ca145685d166d8e4114
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Sep 18 23:08:10 2012 -0400

    search-engine-simple: always include hidden files
    
    Since the NautilusDirectory controlling the view model will filter them
    out anyway according to the preference; this way we can make Ctrl+H work
    correctly also in case the simple engine, and not the
    NautilusDirectory one, is used.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=437626

 .../nautilus-search-engine-simple.c                |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libnautilus-private/nautilus-search-engine-simple.c b/libnautilus-private/nautilus-search-engine-simple.c
index 3e6c10a..5571a02 100644
--- a/libnautilus-private/nautilus-search-engine-simple.c
+++ b/libnautilus-private/nautilus-search-engine-simple.c
@@ -235,10 +235,6 @@ visit_directory (GFile *dir, SearchThreadData *data)
 	}
 
 	while ((info = g_file_enumerator_next_file (enumerator, data->cancellable, NULL)) != NULL) {
-		if (g_file_info_get_is_hidden (info)) {
-			goto next;
-		}
-		
 		display_name = g_file_info_get_display_name (info);
 		if (display_name == NULL) {
 			goto next;



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