diff options
author | Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> | 2014-10-10 00:54:19 -0300 |
---|---|---|
committer | Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> | 2014-10-10 00:54:19 -0300 |
commit | 486fa2a23d8bc3d3aac18c4de8e4a9e47a19c935 (patch) | |
tree | c8917a7ae77499e1390f816e15fad41a89c6630a /src | |
parent | fe008a1d624ae54ae95df3aa4bb0b53bd757721d (diff) | |
download | ayatana-indicator-sound-486fa2a23d8bc3d3aac18c4de8e4a9e47a19c935.tar.gz ayatana-indicator-sound-486fa2a23d8bc3d3aac18c4de8e4a9e47a19c935.tar.bz2 ayatana-indicator-sound-486fa2a23d8bc3d3aac18c4de8e4a9e47a19c935.zip |
volume-control: making sure we're always in sync with accountservice
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 ba87de5..1ab4547 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); } |