summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Barisione <marco.barisione@collabora.co.uk>2014-04-04 09:10:34 +0100
committerMarco Barisione <marco.barisione@collabora.co.uk>2014-04-04 09:10:34 +0100
commit7cd2b666b9c867c3f8c361ad1185703186805f49 (patch)
tree7ae74cd20f927b4138c6e7b94b7df08aae2ff5e5
parent0f1bbe1f01d09f2cbda8d1cdb632c0ad99e25b5c (diff)
downloadgraynard-7cd2b666b9c867c3f8c361ad1185703186805f49.tar.gz
graynard-7cd2b666b9c867c3f8c361ad1185703186805f49.zip
panel: don't update the volume icon if the panel is expanded
-rw-r--r--shell/panel.c2
1 files changed, 1 insertions, 1 deletions
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);
}