aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-11-10 12:41:52 -0600
committerTed Gould <ted@gould.cx>2014-11-10 12:41:52 -0600
commit4eb240c40ac3b9a83d2af9d39264da0cb4e39aab (patch)
treeb0556f45e9d700fa203e757816bad98ca3b37ca0
parent26b3fd39265153aff65df925f00c4d4ee28f5d69 (diff)
downloadayatana-indicator-sound-4eb240c40ac3b9a83d2af9d39264da0cb4e39aab.tar.gz
ayatana-indicator-sound-4eb240c40ac3b9a83d2af9d39264da0cb4e39aab.tar.bz2
ayatana-indicator-sound-4eb240c40ac3b9a83d2af9d39264da0cb4e39aab.zip
Set the internal variable and not the property
-rw-r--r--src/accounts-service-user.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala
index ec52730..21e8431 100644
--- a/src/accounts-service-user.vala
+++ b/src/accounts-service-user.vala
@@ -211,7 +211,8 @@ public class AccountsServiceUser : Object {
}
});
- this.silentMode = this.syssoundproxy.silent_mode;
+ this._silentMode = this.syssoundproxy.silent_mode;
+ this.notify_property("silentMode");
} catch (Error e) {
this.syssoundproxy = null;
warning("Unable to get proxy to system sound settings: %s", e.message);