aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-15 15:10:36 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-15 15:10:36 +0000
commit66ef239bd11533a1e1d358c6d54469d4f376c361 (patch)
treef41f574007fbbd2029d36f55e13493238e859fc2
parentdec022ea93d6a120716f47efe1c5f4d4236e726b (diff)
downloadayatana-indicator-sound-66ef239bd11533a1e1d358c6d54469d4f376c361.tar.gz
ayatana-indicator-sound-66ef239bd11533a1e1d358c6d54469d4f376c361.tar.bz2
ayatana-indicator-sound-66ef239bd11533a1e1d358c6d54469d4f376c361.zip
initial mute update state
-rw-r--r--src/device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index 2f38beb..353a2c6 100644
--- a/src/device.c
+++ b/src/device.c
@@ -94,7 +94,6 @@ device_populate (Device* self,
const pa_sink_info* update)
{
DevicePrivate* priv = DEVICE_GET_PRIVATE(self);
- device_mute_update (self, update->mute);
mute_menu_item_enable (priv->mute_menuitem, TRUE);
slider_menu_item_populate (priv->volume_slider_menuitem, update);
SoundState state = device_get_state_from_volume (self);
@@ -103,7 +102,7 @@ device_populate (Device* self,
sound_service_dbus_update_sound_state (priv->service,
priv->current_sound_state);
}
-
+ device_mute_update (self, update->mute);
}
void