diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-03-11 14:48:28 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-03-11 14:48:28 +0000 |
commit | c5a10d2650e11b9a700b605640a41275a4ee1a5d (patch) | |
tree | 4066b4b9eef4f0383072333ab0e4ba9e65ca947b /gio/glocalfileinfo.h | |
parent | 15f38678333d8ebe7074c39a252a39ebd94362e5 (diff) |
Correctly implement can_trash by actually looking for a trash dir, not
2008-03-11 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:
* glocalfileinfo.[ch]:
Correctly implement can_trash by actually
looking for a trash dir, not just assuming
one exists.
svn path=/trunk/; revision=6679
Diffstat (limited to 'gio/glocalfileinfo.h')
-rw-r--r-- | gio/glocalfileinfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gio/glocalfileinfo.h b/gio/glocalfileinfo.h index 19999accb..397a7ea3b 100644 --- a/gio/glocalfileinfo.h +++ b/gio/glocalfileinfo.h @@ -35,10 +35,13 @@ G_BEGIN_DECLS typedef struct { gboolean writable; gboolean is_sticky; + gboolean has_trash_dir; int owner; dev_t device; } GLocalParentFileInfo; +gboolean _g_local_file_has_trash_dir (const char *dirname, + dev_t dir_dev); void _g_local_file_info_get_parent_info (const char *dir, GFileAttributeMatcher *attribute_matcher, GLocalParentFileInfo *parent_info); |