aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-03-20 15:40:39 -0500
committerTed Gould <ted@gould.cx>2014-03-20 15:40:39 -0500
commitcdfa2afeb95b1067bde7412b6cee744a1ab0e0b9 (patch)
tree29d58ed66ecc3f5517614b0ee47aca706619923f
parent6be3d4e79f6121a56ae458c18af010768d73a2dc (diff)
downloadayatana-indicator-sound-cdfa2afeb95b1067bde7412b6cee744a1ab0e0b9.tar.gz
ayatana-indicator-sound-cdfa2afeb95b1067bde7412b6cee744a1ab0e0b9.tar.bz2
ayatana-indicator-sound-cdfa2afeb95b1067bde7412b6cee744a1ab0e0b9.zip
Debug messages
-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;
}