aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r--src/indicator-sound.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index abebb19..5ca4df7 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -153,8 +153,10 @@ connection_changed (IndicatorServiceManager * sm, gboolean connected, gpointer u
return;
}
-static void catch_signal (DBusGProxy * proxy, gint sink_index, gboolean value, gpointer userdata)
+
+static void catch_signal_sink_input_while_muted(DBusGProxy * proxy, gint sink_index, gboolean value, gpointer userdata)
{
+ //gtk_image_set_from_icon_name(speaker_image, "audio-volume-muted-blocking-symbolic", GTK_ICON_SIZE_MENU);
g_debug("signal caught - I don't believe it ! with index %i and value %i", sink_index, value);
}
@@ -204,7 +206,7 @@ static void change_speaker_image(gdouble volume_percent)
gtk_image_set_from_icon_name(speaker_image, "audio-volume-high", GTK_ICON_SIZE_MENU);
}
else if(volume_percent <= 0.0){
- gtk_image_set_from_icon_name(speaker_image, "audio-volume-muted", GTK_ICON_SIZE_MENU);
+ gtk_image_set_from_icon_name(speaker_image, "audio-volume-zero", GTK_ICON_SIZE_MENU);
}
}