[Xfce4-commits] <thunar:xfce-4.8> Treat backup files as hidden, as with thunar-vfs (bug #7615).
Jannis Pohlmann
noreply at xfce.org
Fri May 20 02:08:01 CEST 2011
Updating branch refs/heads/xfce-4.8
to 9efd4b71e449406a90131b6a14b9bac318e204c1 (commit)
from d7c79615cd764cd1f82d041694ee03197d9ee9df (commit)
commit 9efd4b71e449406a90131b6a14b9bac318e204c1
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Fri May 20 02:05:06 2011 +0200
Treat backup files as hidden, as with thunar-vfs (bug #7615).
NEWS | 1 +
thunar/thunar-file.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/NEWS b/NEWS
index 6ccac5d..e7a470f 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@
Reported and solved by Ambroz Bizjak.
- Fix crash when hovering a CD drive with a special icon (bug #7309).
Reported and solved by Ambroz Bizjak.
+- Treat backup files as hidden as with thunar-vfs (bug #7615).
1.2.1
=====
diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 8caa422..d7f3e8e 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -2301,7 +2301,8 @@ thunar_file_is_hidden (const ThunarFile *file)
if (file->info == NULL)
return FALSE;
- return g_file_info_get_is_hidden (file->info);
+ return g_file_info_get_is_hidden (file->info)
+ || g_file_info_get_is_backup (file->info);
}
More information about the Xfce4-commits
mailing list