Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
authorAlexander Larsson <alexl@redhat.com>
Tue, 21 Oct 2008 13:02:05 +0000 (13:02 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Tue, 21 Oct 2008 13:02:05 +0000 (13:02 +0000)
2008-10-21  Alexander Larsson  <alexl@redhat.com>

        * gfileinfo.h:
Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)

svn path=/trunk/; revision=7619

gio/ChangeLog
gio/gfileinfo.h

index e69405e0496827f18654d70e452987a46f327421..7e7978bf58ba0fa2d186ad39efd5324e42395378 100644 (file)
@@ -1,3 +1,8 @@
+2008-10-21  Alexander Larsson  <alexl@redhat.com>
+
+        * gfileinfo.h:
+       Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
+
 2008-10-21  Alexander Larsson  <alexl@redhat.com>
 
        Bug 555740 - gicon serialization
index a7a75b9e2d7ccf0b13a052c40955c0095c898685..a1499cdff9cbeffaf6a916c176040b65b45ecd23 100644 (file)
@@ -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) */
 
 /**