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 e69405e..7e7978b 100644 (file)
@@ -1,5 +1,10 @@
 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
        Based on patch from David Zeuthen
        
index a7a75b9..a1499cd 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) */
 
 /**