summaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:37:36 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:37:36 +0000
commit995b0932c1d35a179e266ceb29d38e30ed884347 (patch)
treeddd981f02d91b32cc4a99223e3460644a888554c /programs
parent4fd5b53d44d56997866bcc0e33aec5dc3f42e3db (diff)
downloadgvfs-995b0932c1d35a179e266ceb29d38e30ed884347.tar.gz
Remove GFileFlags and split out to multiple attributes
Original git commit by Alexander Larsson <alexl@redhat.com> at 1185534271 +0200 svn path=/trunk/; revision=723
Diffstat (limited to 'programs')
-rw-r--r--programs/gvfs-info.c2
-rw-r--r--programs/gvfs-ls.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/programs/gvfs-info.c b/programs/gvfs-info.c
index 89e6c614..d457e8e9 100644
--- a/programs/gvfs-info.c
+++ b/programs/gvfs-info.c
@@ -124,7 +124,7 @@ show_info (GFileInfo *info)
size = g_file_info_get_size (info);
g_print ("size: %"G_GUINT64_FORMAT"\n", (guint64)size);
- if (g_file_info_get_flags (info) & G_FILE_FLAG_HIDDEN)
+ if (g_file_info_get_is_hidden (info))
g_print ("hidden\n");
show_attributes (info);
diff --git a/programs/gvfs-ls.c b/programs/gvfs-ls.c
index 81d965d8..a943c957 100644
--- a/programs/gvfs-ls.c
+++ b/programs/gvfs-ls.c
@@ -51,7 +51,7 @@ show_info (GFileInfo *info)
const char *name, *type;
goffset size;
- if ((g_file_info_get_flags (info) & G_FILE_FLAG_HIDDEN) && !show_hidden)
+ if ((g_file_info_get_is_hidden (info)) && !show_hidden)
return;
name = g_file_info_get_name (info);