aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-03-12 11:49:34 +0000
committerConor Curran <conor.curran@canonical.com>2010-03-12 11:49:34 +0000
commit60f21441622d5b5c6d504cfc95872f4f12633593 (patch)
treed2bfb502acb93d5e98d55539e6379d659869c010 /src
parent9ac1b1a6ecac11d811b453adc75213bf01c21389 (diff)
downloadayatana-indicator-sound-60f21441622d5b5c6d504cfc95872f4f12633593.tar.gz
ayatana-indicator-sound-60f21441622d5b5c6d504cfc95872f4f12633593.tar.bz2
ayatana-indicator-sound-60f21441622d5b5c6d504cfc95872f4f12633593.zip
removed test case
Diffstat (limited to 'src')
-rw-r--r--src/indicator-sound.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index 4b9fbc3..105f00b 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -326,14 +326,13 @@ Only called at startup.
*/
static void prepare_blocked_animation()
{
- //gchar* blocked_name = g_hash_table_lookup(volume_states, GINT_TO_POINTER(STATE_MUTED_WHILE_INPUT));
+ gchar* blocked_name = g_hash_table_lookup(volume_states, GINT_TO_POINTER(STATE_MUTED_WHILE_INPUT));
gchar* muted_name = g_hash_table_lookup(volume_states, GINT_TO_POINTER(STATE_MUTED));
GtkImage* temp_image = indicator_image_helper(muted_name);
GdkPixbuf* mute_buf = gtk_image_get_pixbuf(temp_image);
- temp_image = indicator_image_helper("wrong_name");
-
+ temp_image = indicator_image_helper(blocked_name);
GdkPixbuf* blocked_buf = gtk_image_get_pixbuf(temp_image);
int i;