diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-09-18 23:08:10 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-09-19 12:57:05 -0400 |
commit | a0c25091311239bf1ef94ca145685d166d8e4114 (patch) | |
tree | 6dae3417da24b21006e14ce860bf82596bd86925 | |
parent | 5f855ec0c4a7749b1270f62ceceac65f849cc9f3 (diff) | |
download | nautilus-a0c25091311239bf1ef94ca145685d166d8e4114.tar.gz |
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
-rw-r--r-- | libnautilus-private/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 3e6c10aa2..5571a02cf 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; |