Added new standard::description attribute. Requested by Vincent, and
authorAlexander Larsson <alexl@redhat.com>
Mon, 11 Feb 2008 10:41:00 +0000 (10:41 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Mon, 11 Feb 2008 10:41:00 +0000 (10:41 +0000)
2008-02-11  Alexander Larsson  <alexl@redhat.com>

* gfileinfo.h:
Added new standard::description attribute.
Requested by Vincent, and useful for both
panel and nautilus

svn path=/trunk/; revision=6496

gio/ChangeLog
gio/gfileinfo.h

index 15a30659b96ab49e07cedc9b01d4bc9e118e0a5e..40ec1875b50d745ada1dfc48fa9e146b4c65e292 100644 (file)
@@ -1,3 +1,10 @@
+2008-02-11  Alexander Larsson  <alexl@redhat.com>
+
+       * gfileinfo.h:
+       Added new standard::description attribute.
+       Requested by Vincent, and useful for both
+       panel and nautilus
+
 2008-02-11  Alexander Larsson  <alexl@redhat.com>
 
         * gdesktopappinfo.c:
index be59ad6b1fece23df721d1a14b32cf12908d7e2d..f9a5fcba6c6e8e9f12aa8c78024f1878de667abc 100644 (file)
@@ -173,6 +173,20 @@ typedef enum {
  **/
 #define G_FILE_ATTRIBUTE_STANDARD_COPY_NAME "standard::copy-name"           /* string */
 
+/**
+ * G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION:
+ * 
+ * A key in the "standard" namespace for getting the description of the file.
+ * The description is a utf8 string that describes the file, generally containing
+ * the filename, but can also contain furter information. Example descriptions
+ * could be "filename (on hostname)" for a remote file or "filename (in trash)"
+ * for a file in the trash. This is useful for instance as the window title
+ * when displaying a directory or for a bookmarks menu.
+ * 
+ * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING.
+ **/
+#define G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION "standard::description"        /* string */
+
 /**
  * G_FILE_ATTRIBUTE_STANDARD_ICON:
  *