From 486fa2a23d8bc3d3aac18c4de8e4a9e47a19c935 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti de Araujo Date: Fri, 10 Oct 2014 00:54:19 -0300 Subject: volume-control: making sure we're always in sync with accountservice --- src/volume-control.vala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); } -- cgit v1.2.3