aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/accounts-service-user.vala2
-rw-r--r--src/service.vala2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala
index 8797fb9..77dc9d4 100644
--- a/src/accounts-service-user.vala
+++ b/src/accounts-service-user.vala
@@ -42,6 +42,8 @@ public class AccountsServiceUser : Object {
}
if (this._player == null) {
+ debug("Clearing player data in accounts service");
+
/* Clear it */
this.proxy.player_name = "";
this.proxy.timestamp = 0;
diff --git a/src/service.vala b/src/service.vala
index 8863a16..de03296 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -71,11 +71,13 @@ public class IndicatorSound.Service: Object {
/* If we're not exporting, don't build anything */
if (!this.settings.get_boolean("greeter-export")) {
+ debug("Accounts service export disabled due to user setting");
return;
}
/* If we're on the greeter, don't export */
if (GLib.Environment.get_user_name() == "lightdm") {
+ debug("Accounts service export disabled due to being used on the greeter");
return;
}