diff options
-rw-r--r-- | src/indicator-sound.c | 5 |
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; |