aboutsummaryrefslogtreecommitdiff
path: root/src/accounts-service-access.vala
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-02-29 14:33:14 +0100
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-02-29 14:33:14 +0100
commit0fe4ec98a470a992eee9f8ed7e404fe767a82076 (patch)
treeffb5594e86840baccae35a6d546281a0d937bcaa /src/accounts-service-access.vala
parent3feaa4d0c59774f23831990d9310c5191526eb16 (diff)
downloadayatana-indicator-sound-0fe4ec98a470a992eee9f8ed7e404fe767a82076.tar.gz
ayatana-indicator-sound-0fe4ec98a470a992eee9f8ed7e404fe767a82076.tar.bz2
ayatana-indicator-sound-0fe4ec98a470a992eee9f8ed7e404fe767a82076.zip
Accounts service notification fix
Diffstat (limited to 'src/accounts-service-access.vala')
-rw-r--r--src/accounts-service-access.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/accounts-service-access.vala b/src/accounts-service-access.vala
index fb15700..eebd87d 100644
--- a/src/accounts-service-access.vala
+++ b/src/accounts-service-access.vala
@@ -95,7 +95,7 @@ public class AccountsServiceAccess : Object
Variant volume_variant = changed_properties.lookup_value ("Volume", VariantType.DOUBLE);
if (volume_variant != null) {
var volume = volume_variant.get_double ();
- if (volume >= 0) {
+ if (volume >= 0 && _volume != volume) {
_volume = volume;
this.notify_property("volume");
}