diff options
author | Ryan Lortie <desrt@desrt.ca> | 2008-02-13 20:27:18 +0000 |
---|---|---|
committer | Ryan Lortie <ryanl@src.gnome.org> | 2008-02-13 20:27:18 +0000 |
commit | 8cb3db68f08cf5e136447ef82967b05f0bc1b7df (patch) | |
tree | bda82410c443a9ae69db1fa3d2a16d351fa0f799 /gio/gfileinfo.h | |
parent | ab7e80d3669e3b015598c7b771938e921f58bf45 (diff) |
add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2008-02-13 Ryan Lortie <desrt@desrt.ca>
* docs/reference/gio/gio-sections.txt: add
G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2008-02-13 Ryan Lortie <desrt@desrt.ca>
* gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
svn path=/trunk/; revision=6511
Diffstat (limited to 'gio/gfileinfo.h')
-rw-r--r-- | gio/gfileinfo.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gio/gfileinfo.h b/gio/gfileinfo.h index f9a5fcba6..79ad61dd8 100644 --- a/gio/gfileinfo.h +++ b/gio/gfileinfo.h @@ -698,6 +698,15 @@ typedef enum { **/ #define G_FILE_ATTRIBUTE_SELINUX_CONTEXT "selinux::context" /* string */ +/** + * G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT: + * + * A key in the "trash" namespace. When requested against 'trash:///' + * returns the number of (toplevel) items in the trash folder. + * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT32. + **/ +#define G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT "trash::item-count" /* uint32 */ + GType g_file_info_get_type (void) G_GNUC_CONST; GFileInfo * g_file_info_new (void); |