diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-03-08 00:36:00 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-03-08 00:36:00 -0500 |
commit | 826abbefcee6c7f64ed8c21d9a2671f9cd0be089 (patch) | |
tree | 56aba593121bb693a77bb9cb43ec6b0541a8a8f8 /gio/gfileinfo.h | |
parent | 96d105906ef267b687ee6fbe085a791f3b17afc6 (diff) | |
download | glib-826abbefcee6c7f64ed8c21d9a2671f9cd0be089.tar.gz |
Add defines for trash::orig-path and trash::deletion-date
See bug 612107.
Diffstat (limited to 'gio/gfileinfo.h')
-rw-r--r-- | gio/gfileinfo.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gio/gfileinfo.h b/gio/gfileinfo.h index 0064502fa..2b5110f1e 100644 --- a/gio/gfileinfo.h +++ b/gio/gfileinfo.h @@ -783,6 +783,30 @@ typedef struct _GFileInfoClass GFileInfoClass; **/ #define G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT "trash::item-count" /* uint32 */ +/** + * G_FILE_ATTRIBUTE_TRASH_ORIG_PATH: + * + * A key in the "trash" namespace. When requested against + * items in "trash:///", will return the original path to the file before it + * was trashed. Corresponding #GFileAttributeType is + * %G_FILE_ATTRIBUTE_TYPE_STRING. + * + * Since: 2.24. + **/ +#define G_FILE_ATTRIBUTE_TRASH_ORIG_PATH "trash::orig-path" /* string */ + +/** + * G_FILE_ATTRIBUTE_TRASH_DELETION_DATE: + * + * A key in the "trash" namespace. When requested against + * items in "trash:///", will return the date and time when the file + * was trashed. The format of the returned string is YYYY-MM-DDThh:mm:ss. + * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. + * + * Since: 2.24. + **/ +#define G_FILE_ATTRIBUTE_TRASH_DELETION_DATE "trash::deletion-date" /* string */ + GType g_file_info_get_type (void) G_GNUC_CONST; GFileInfo * g_file_info_new (void); |