From 722ce01234bb3d5e5f99f206da20d402b3e337c6 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 1 Oct 2014 11:42:52 -0500 Subject: Turn show data on greeter into a property, which it was always intended to be. --- src/accounts-service-user.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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; } }); -- cgit v1.2.3