[gnome-media] Show a microphone icon even if the stream has no ID
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-media] Show a microphone icon even if the stream has no ID
- Date: Thu, 10 Jun 2010 13:59:25 +0000 (UTC)
commit e705f42130df0e7cb3f6b8a7e3d315219aeebbbc
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jun 10 14:56:39 2010 +0100
Show a microphone icon even if the stream has no ID
Just because the stream has no ID doesn't mean that we shouldn't
show the microphone icon.
gnome-volume-control/src/gvc-applet.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gnome-volume-control/src/gvc-applet.c b/gnome-volume-control/src/gvc-applet.c
index 3fd6e8a..df34257 100644
--- a/gnome-volume-control/src/gvc-applet.c
+++ b/gnome-volume-control/src/gvc-applet.c
@@ -94,8 +94,10 @@ maybe_show_status_icons (GvcApplet *applet)
const char *id;
id = gvc_mixer_stream_get_application_id (s);
- if (id == NULL)
- continue;
+ if (id == NULL) {
+ show = TRUE;
+ break;
+ }
if (!g_str_equal (id, "org.gnome.VolumeControl") &&
!g_str_equal (id, "org.PulseAudio.pavucontrol")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]