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
This commit is contained in:
Ryan Lortie 2008-02-13 20:27:18 +00:00 committed by Ryan Lortie
parent ab7e80d366
commit 8cb3db68f0
4 changed files with 19 additions and 0 deletions

View File

@ -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

View 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

View 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:

View 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);