Johannes Weißl
2011-04-19 20:37:54 UTC
Otherwise an ugly placeholder is displayed in gnome-sound-applet
(gnome3).
---
pulse.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pulse.c b/pulse.c
index 9a59247..ebd6c60 100644
--- a/pulse.c
+++ b/pulse.c
@@ -71,6 +71,9 @@ static pa_proplist *__create_stream_proplist(void)
rc = pa_proplist_sets(pl, PA_PROP_MEDIA_ROLE, "music");
BUG_ON(rc);
+ rc = pa_proplist_sets(pl, PA_PROP_MEDIA_ICON_NAME, "audio-x-generic");
+ BUG_ON(rc);
+
return pl;
}
(gnome3).
---
pulse.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pulse.c b/pulse.c
index 9a59247..ebd6c60 100644
--- a/pulse.c
+++ b/pulse.c
@@ -71,6 +71,9 @@ static pa_proplist *__create_stream_proplist(void)
rc = pa_proplist_sets(pl, PA_PROP_MEDIA_ROLE, "music");
BUG_ON(rc);
+ rc = pa_proplist_sets(pl, PA_PROP_MEDIA_ICON_NAME, "audio-x-generic");
+ BUG_ON(rc);
+
return pl;
}
--
1.7.4.4
1.7.4.4