diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2016-02-29 14:33:14 +0100 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2016-02-29 14:33:14 +0100 |
commit | 0fe4ec98a470a992eee9f8ed7e404fe767a82076 (patch) | |
tree | ffb5594e86840baccae35a6d546281a0d937bcaa /src/volume-control-pulse.vala | |
parent | 3feaa4d0c59774f23831990d9310c5191526eb16 (diff) | |
download | ayatana-indicator-sound-0fe4ec98a470a992eee9f8ed7e404fe767a82076.tar.gz ayatana-indicator-sound-0fe4ec98a470a992eee9f8ed7e404fe767a82076.tar.bz2 ayatana-indicator-sound-0fe4ec98a470a992eee9f8ed7e404fe767a82076.zip |
Accounts service notification fix
Diffstat (limited to 'src/volume-control-pulse.vala')
-rw-r--r-- | src/volume-control-pulse.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala index 43092d1..c8a6071 100644 --- a/src/volume-control-pulse.vala +++ b/src/volume-control-pulse.vala @@ -69,7 +69,7 @@ public class VolumeControlPulse : VolumeControl _accounts_service_access = accounts_service_access; this._accounts_service_access.notify["volume"].connect(() => { - if (this._accounts_service_access.volume >= 0) { + if (this._accounts_service_access.volume >= 0 && _account_service_volume != this._accounts_service_access.volume) { _account_service_volume = this._accounts_service_access.volume; // we need to wait for this to settle. start_account_service_volume_timer(); |