From 7cd2b666b9c867c3f8c361ad1185703186805f49 Mon Sep 17 00:00:00 2001 From: Marco Barisione Date: Fri, 4 Apr 2014 09:10:34 +0100 Subject: panel: don't update the volume icon if the panel is expanded --- shell/panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/panel.c') diff --git a/shell/panel.c b/shell/panel.c index 74ab751..aee8ec8 100644 --- a/shell/panel.c +++ b/shell/panel.c @@ -335,6 +335,6 @@ maynard_panel_set_volume_icon_name (MaynardPanel *self, g_free (self->priv->volume_icon_name); self->priv->volume_icon_name = g_strdup (icon_name); - if (self->priv->volume_showing) + if (!self->priv->volume_showing) set_icon (self->priv->volume_button, icon_name); } -- cgit v1.3.1