diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2013-02-15 22:42:41 +0100 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2013-02-18 14:39:54 +0100 |
commit | 74c08620b45a806df7531a434449f612c87c5ea4 (patch) | |
tree | 090e6c70db405282a86b9272c9d51bfd4811bcec /gvc-mixer-card.h | |
parent | 03894efbcd010faf53bbc6e27256d27485f721b8 (diff) | |
download | libgnome-volume-control-74c08620b45a806df7531a434449f612c87c5ea4.tar.gz |
Add a GIcon accessor for GvcMixerUIDevices
This will allow to have different icons for internal audio cards
(which are flagged generically as "audio-card"), depending on which
port is in use (ie. headphones or speakers).
This requires the new icon information, which is only exported by
PulseAudio 3.0. If it's not available, we fallback to card icons
like before.
https://bugzilla.gnome.org/show_bug.cgi?id=689931
Diffstat (limited to 'gvc-mixer-card.h')
-rw-r--r-- | gvc-mixer-card.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gvc-mixer-card.h b/gvc-mixer-card.h index 7fd6d4c..814f8d4 100644 --- a/gvc-mixer-card.h +++ b/gvc-mixer-card.h @@ -62,6 +62,7 @@ typedef struct { char *port; char *human_port; + char *icon_name; guint priority; gint available; gint direction; |