[Xfce4-commits] <thunar:master> Treat backup files as hidden, as with thunar-vfs (bug #7615).
Jannis Pohlmann
noreply at xfce.org
Fri May 20 02:06:02 CEST 2011
Updating branch refs/heads/master
to bb227bfe0d761476fbd8d72fa51afaeaffa10715 (commit)
from a6650a997c975d09a7c881329564cdfe5626e1b6 (commit)
commit bb227bfe0d761476fbd8d72fa51afaeaffa10715
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 d8881ce..91e6568 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@
- Use portable abicheck.sh from xfconf.
- Avoid segfaults due to interpreting display names as format strings.
- Improve the UI according to bugs #7496 and #7497.
+- Treat backup files as hidden as with thunar-vfs (bug #7615).
1.3.0
=====
diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 506713c..fece42f 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -2310,7 +2310,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