diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-02-04 15:01:58 -0800 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-02-04 15:01:58 -0800 |
commit | f63890bd42b350f80c7a8d13adda9ffc58e18eb1 (patch) | |
tree | 1ac9b893c23a08796577e68476857a12fb67945a /src | |
parent | 376fe0533e28a5fedca53c4ac154dd9a86e0c6e4 (diff) | |
download | ayatana-indicator-sound-f63890bd42b350f80c7a8d13adda9ffc58e18eb1.tar.gz ayatana-indicator-sound-f63890bd42b350f80c7a8d13adda9ffc58e18eb1.tar.bz2 ayatana-indicator-sound-f63890bd42b350f80c7a8d13adda9ffc58e18eb1.zip |
image for zero volume changed to match spec
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-sound.c | 6 |
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); } } |