diff options
author | William Jon McCann <jmccann@redhat.com> | 2012-08-28 15:37:43 -0400 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2012-08-30 11:04:43 -0400 |
commit | a2dca48bf75efcc684cfc670b4552a2c5c77d1a2 (patch) | |
tree | a17e99919f8b9c1b810acfde62d312bc8b62a415 /gio/gdrive.h | |
parent | 88d181ef18b50018d4645870bc6d0a1283177f68 (diff) | |
download | glib-a2dca48bf75efcc684cfc670b4552a2c5c77d1a2.tar.gz |
Add symbolic icon support to drive, volume, and mount
We need symbolic icon support for display in Nautilus.
https://bugzilla.gnome.org/show_bug.cgi?id=682101
Diffstat (limited to 'gio/gdrive.h')
-rw-r--r-- | gio/gdrive.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gdrive.h b/gio/gdrive.h index 25ed4f4ea..d42b0b700 100644 --- a/gio/gdrive.h +++ b/gio/gdrive.h @@ -72,6 +72,7 @@ G_BEGIN_DECLS * @eject_with_operation: Starts ejecting a #GDrive using a #GMountOperation. Since 2.22. * @eject_with_operation_finish: Finishes an eject operation using a #GMountOperation. Since 2.22. * @get_sort_key: Gets a key used for sorting #GDrive instances or %NULL if no such key exists. Since 2.32. + * @get_symbolic_icon: Returns a symbolic #GIcon for the given #GDrive. Since 2.34. * * Interface for creating #GDrive implementations. */ @@ -154,12 +155,15 @@ struct _GDriveIface GError **error); const gchar * (* get_sort_key) (GDrive *drive); + GIcon * (* get_symbolic_icon) (GDrive *drive); + }; GType g_drive_get_type (void) G_GNUC_CONST; char * g_drive_get_name (GDrive *drive); GIcon * g_drive_get_icon (GDrive *drive); +GIcon * g_drive_get_symbolic_icon (GDrive *drive); gboolean g_drive_has_volumes (GDrive *drive); GList * g_drive_get_volumes (GDrive *drive); gboolean g_drive_is_media_removable (GDrive *drive); |