summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-directory-async.c
diff options
context:
space:
mode:
authorSargastic <[email protected]>2018-08-11 22:01:58 +0200
committerraveit65 <[email protected]>2018-12-27 13:11:09 +0100
commit06b4f4c2990104b4477647b48a956fed201a26e2 (patch)
tree18f64d9d9712c40a0e6064df51ef3e0bddcca46a /libcaja-private/caja-directory-async.c
parent58e987622a1d4ff137b9e5475880376dd60ac18b (diff)
downloadcaja-06b4f4c2990104b4477647b48a956fed201a26e2.tar.bz2
caja-06b4f4c2990104b4477647b48a956fed201a26e2.tar.xz
Skip hidden files only, not backups
Diffstat (limited to 'libcaja-private/caja-directory-async.c')
-rw-r--r--libcaja-private/caja-directory-async.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcaja-private/caja-directory-async.c b/libcaja-private/caja-directory-async.c
index e3513cc8..73876e72 100644
--- a/libcaja-private/caja-directory-async.c
+++ b/libcaja-private/caja-directory-async.c
@@ -918,9 +918,7 @@ should_skip_file (CajaDirectory *directory, GFileInfo *info)
show_hidden_files_changed_callback (NULL);
}
- if (!show_hidden_files &&
- (g_file_info_get_is_hidden (info) ||
- g_file_info_get_is_backup (info)))
+ if (!show_hidden_files && g_file_info_get_is_hidden (info))
{
return TRUE;
}