add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
authorRyan Lortie <desrt@desrt.ca>
Wed, 13 Feb 2008 20:27:18 +0000 (20:27 +0000)
committerRyan Lortie <ryanl@src.gnome.org>
Wed, 13 Feb 2008 20:27:18 +0000 (20:27 +0000)
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

ChangeLog
docs/reference/gio/gio-sections.txt
gio/ChangeLog
gio/gfileinfo.h

index 58cca42..77de7c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-13  Ryan Lortie  <desrt@desrt.ca>
+
+       * docs/reference/gio/gio-sections.txt: add
+       G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
+
 2008-02-13  Tor Lillqvist  <tml@novell.com>
 
        * glib/gwin32.c: Doc change: Deprecate passing anything but NULL
index 99a0731..706cfdf 100644 (file)
@@ -221,6 +221,7 @@ G_FILE_ATTRIBUTE_FILESYSTEM_TYPE
 G_FILE_ATTRIBUTE_FILESYSTEM_READONLY
 G_FILE_ATTRIBUTE_GVFS_BACKEND
 G_FILE_ATTRIBUTE_SELINUX_CONTEXT
+G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
 g_file_info_new
 g_file_info_dup
 g_file_info_copy_into
index 893e572..c792fb0 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-13  Ryan Lortie  <desrt@desrt.ca>
+
+       * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
+
 2008-02-13  Alexander Larsson  <alexl@redhat.com>
 
        * inotify/inotify-path.c:
index f9a5fcb..79ad61d 100644 (file)
@@ -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);