[gnome-control-center/gnome-3-8] sound: don't show applications playing event sounds
- From: Thomas Wood <thos src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-8] sound: don't show applications playing event sounds
- Date: Fri, 28 Jun 2013 14:55:01 +0000 (UTC)
commit f5de5d137ec13df16b8a096faa24364f89d9116d
Author: Thomas Wood <thomas wood intel com>
Date: Wed Jun 26 17:23:01 2013 +0100
sound: don't show applications playing event sounds
https://bugzilla.gnome.org/show_bug.cgi?id=702093
panels/sound/gvc-mixer-dialog.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/sound/gvc-mixer-dialog.c b/panels/sound/gvc-mixer-dialog.c
index eb9e49b..ae19c75 100644
--- a/panels/sound/gvc-mixer-dialog.c
+++ b/panels/sound/gvc-mixer-dialog.c
@@ -1062,6 +1062,7 @@ on_control_stream_added (GvcMixerControl *control,
(GVC_IS_MIXER_SOURCE (stream) == FALSE &&
GVC_IS_MIXER_SINK (stream) == FALSE &&
gvc_mixer_stream_is_virtual (stream) == FALSE &&
+ gvc_mixer_stream_is_event_stream (stream) == FALSE &&
g_strcmp0 (app_id, "org.gnome.VolumeControl") != 0 &&
g_strcmp0 (app_id, "org.PulseAudio.pavucontrol") != 0)) {
GtkWidget *bar;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]