glib r6511 - in trunk: . docs/reference/gio gio
- From: ryanl svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6511 - in trunk: . docs/reference/gio gio
- Date: Wed, 13 Feb 2008 20:27:18 +0000 (GMT)
Author: ryanl
Date: Wed Feb 13 20:27:18 2008
New Revision: 6511
URL: http://svn.gnome.org/viewvc/glib?rev=6511&view=rev
Log:
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
Modified:
trunk/ChangeLog
trunk/docs/reference/gio/gio-sections.txt
trunk/gio/ChangeLog
trunk/gio/gfileinfo.h
Modified: trunk/docs/reference/gio/gio-sections.txt
==============================================================================
--- trunk/docs/reference/gio/gio-sections.txt (original)
+++ trunk/docs/reference/gio/gio-sections.txt Wed Feb 13 20:27:18 2008
@@ -221,6 +221,7 @@
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
Modified: trunk/gio/gfileinfo.h
==============================================================================
--- trunk/gio/gfileinfo.h (original)
+++ trunk/gio/gfileinfo.h Wed Feb 13 20:27:18 2008
@@ -698,6 +698,15 @@
**/
#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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]