diff options
author | Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> | 2014-10-10 15:40:19 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-10-10 15:40:19 +0000 |
commit | 41008d0605a62b5fc64846ad747d2c1c63e765d4 (patch) | |
tree | a48cc1db0207c4099d57cb8b90efa32bc1f6c0c1 /src | |
parent | f2b90d32a52baa7a41548500e5c9339a99cf1354 (diff) | |
parent | 486fa2a23d8bc3d3aac18c4de8e4a9e47a19c935 (diff) | |
download | ayatana-indicator-sound-41008d0605a62b5fc64846ad747d2c1c63e765d4.tar.gz ayatana-indicator-sound-41008d0605a62b5fc64846ad747d2c1c63e765d4.tar.bz2 ayatana-indicator-sound-41008d0605a62b5fc64846ad747d2c1c63e765d4.zip |
volume-control: making sure we're always in sync with accountservice Fixes: 1379618
Approved by: Ted Gould, PS Jenkins bot
Diffstat (limited to 'src')
-rw-r--r-- | src/volume-control.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala index 29c49f6..ad186a7 100644 --- a/src/volume-control.vala +++ b/src/volume-control.vala @@ -170,6 +170,7 @@ public class VolumeControl : Object { _volume = volume_to_double (i.volume.max ()); volume_changed (_volume); + start_local_volume_timer(); } } @@ -238,6 +239,7 @@ public class VolumeControl : Object /* Someone else changed the volume for this role, reflect on the indicator */ _volume = volume_to_double (volume); volume_changed (_volume); + start_local_volume_timer(); } } } @@ -280,6 +282,7 @@ public class VolumeControl : Object _volume = volume_to_double (volume); volume_changed (_volume); + start_local_volume_timer(); } catch (GLib.Error e) { warning ("unable to get volume for active role %s (%s)", sink_input_objp, e.message); } |