aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-10-01 11:42:52 -0500
committerTed Gould <ted@gould.cx>2014-10-01 11:42:52 -0500
commit722ce01234bb3d5e5f99f206da20d402b3e337c6 (patch)
treeb1ae45ea546bfa8fa4997f77cc9b67bdc2e63ab5 /src
parent06367d1c8d9f2238f23b29210bb2434917d2c7c2 (diff)
downloadayatana-indicator-sound-722ce01234bb3d5e5f99f206da20d402b3e337c6.tar.gz
ayatana-indicator-sound-722ce01234bb3d5e5f99f206da20d402b3e337c6.tar.bz2
ayatana-indicator-sound-722ce01234bb3d5e5f99f206da20d402b3e337c6.zip
Turn show data on greeter into a property, which it was always intended to be.
Diffstat (limited to 'src')
-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 14d129d..8187d73 100644
--- a/src/accounts-service-user.vala
+++ b/src/accounts-service-user.vala
@@ -26,7 +26,7 @@ public class AccountsServiceUser : Object {
MediaPlayer? _player = null;
GreeterBroadcast? greeter = null;
- public bool showDataOnGreeter = false;
+ public bool showDataOnGreeter { get; set; }
public MediaPlayer? player {
set {
@@ -166,6 +166,7 @@ public class AccountsServiceUser : Object {
(this.privacyproxy as DBusProxy).g_properties_changed.connect((proxy, changed, invalid) => {
var welcomeval = changed.lookup("MessagesWelcomeScreen", "b", null);
if (welcomeval) {
+ debug("Messages on welcome screen changed");
this.showDataOnGreeter = welcomeval;
}
});