diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-01-24 09:24:42 -0600 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-01-24 09:24:42 -0600 |
commit | 9a0a7255bfdcc1441277e211b4d45dffedb34e1f (patch) | |
tree | 94efab9d442e00d872170b756a6bb23191fd386e /src/sound-service-dbus.c | |
parent | 1ccf02c850145706776fd2c79a30a33a02df50b3 (diff) | |
download | ayatana-indicator-sound-9a0a7255bfdcc1441277e211b4d45dffedb34e1f.tar.gz ayatana-indicator-sound-9a0a7255bfdcc1441277e211b4d45dffedb34e1f.tar.bz2 ayatana-indicator-sound-9a0a7255bfdcc1441277e211b4d45dffedb34e1f.zip |
refactoring the indicator
Diffstat (limited to 'src/sound-service-dbus.c')
-rw-r--r-- | src/sound-service-dbus.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c index 20546fc..176ea87 100644 --- a/src/sound-service-dbus.c +++ b/src/sound-service-dbus.c @@ -279,11 +279,13 @@ bus_method_call (GDBusConnection * connection, // TODO until the pulsemanager has been refactored keep in place the consistent api // for it to talk to the UI. -void sound_service_dbus_update_volume(SoundServiceDbus* obj, +void sound_service_dbus_update_volume(SoundServiceDbus* self, gdouble volume) { - SoundServiceDbusPrivate *priv = SOUND_SERVICE_DBUS_GET_PRIVATE (obj); + SoundServiceDbusPrivate *priv = SOUND_SERVICE_DBUS_GET_PRIVATE (self); slider_menu_item_update (priv->volume_slider_menuitem, volume); + sound_service_dbus_update_sound_state (self, + sound_service_dbus_get_state_from_volume (self)); } void sound_service_dbus_update_sink_mute(SoundServiceDbus* obj, |