summaryrefslogtreecommitdiff
path: root/gio/gfileinfo.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2008-02-13 20:27:18 +0000
committerRyan Lortie <ryanl@src.gnome.org>2008-02-13 20:27:18 +0000
commit8cb3db68f08cf5e136447ef82967b05f0bc1b7df (patch)
treebda82410c443a9ae69db1fa3d2a16d351fa0f799 /gio/gfileinfo.h
parentab7e80d3669e3b015598c7b771938e921f58bf45 (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.h9
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);