From 17c1241103ba836701d7f21c8dfc9e35fad6baa6 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 21 Oct 2008 13:02:05 +0000 Subject: [PATCH] Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182) 2008-10-21 Alexander Larsson * gfileinfo.h: Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182) svn path=/trunk/; revision=7619 --- gio/ChangeLog | 5 +++++ gio/gfileinfo.h | 15 +++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/gio/ChangeLog b/gio/ChangeLog index e69405e..7e7978b 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,5 +1,10 @@ 2008-10-21 Alexander Larsson + * gfileinfo.h: + Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182) + +2008-10-21 Alexander Larsson + Bug 555740 - gicon serialization Based on patch from David Zeuthen diff --git a/gio/gfileinfo.h b/gio/gfileinfo.h index a7a75b9..a1499cd 100644 --- a/gio/gfileinfo.h +++ b/gio/gfileinfo.h @@ -608,6 +608,21 @@ typedef struct _GFileInfoClass GFileInfoClass; **/ #define G_FILE_ATTRIBUTE_THUMBNAILING_FAILED "thumbnail::failed" /* boolean */ +/* Preview */ + +/** + * G_FILE_ATTRIBUTE_PREVIEW_ICON: + * + * A key in the "preview" namespace for getting a #GIcon that can be + * used to get preview of the file. For example, it may be a low + * resolution thumbnail without metadata. Corresponding + * #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_OBJECT. The value + * for this key should contain a #GIcon. + * + * Since: 2.20 + **/ +#define G_FILE_ATTRIBUTE_PREVIEW_ICON "preview::icon" /* object (GIcon) */ + /* File system info (for g_file_get_filesystem_info) */ /** -- 2.7.4