diff options
author | Ted Gould <ted@gould.cx> | 2014-02-25 15:38:11 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2014-02-25 15:38:11 -0600 |
commit | c5dd9403344fdab2e8db6dd794f56a679d063bf9 (patch) | |
tree | ff4d89e8fbc478198a785126f12fb59bcb49b4bc | |
parent | b00962daf23fe43c7409dbcc735b19d7f74e7241 (diff) | |
download | ayatana-indicator-sound-c5dd9403344fdab2e8db6dd794f56a679d063bf9.tar.gz ayatana-indicator-sound-c5dd9403344fdab2e8db6dd794f56a679d063bf9.tar.bz2 ayatana-indicator-sound-c5dd9403344fdab2e8db6dd794f56a679d063bf9.zip |
Debug messages
-rw-r--r-- | src/accounts-service-user.vala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala index 03aeb25..f021764 100644 --- a/src/accounts-service-user.vala +++ b/src/accounts-service-user.vala @@ -27,10 +27,13 @@ public class AccountsServiceUser : Object { public MediaPlayer? player { set { this._player = value; + debug("New player: %s", this._player != null ? this._player.name : "Cleared"); /* No proxy, no settings to set */ - if (this.proxy == null) + if (this.proxy == null) { + debug("Nothing written to Accounts Service, waiting on proxy"); return; + } /* Always reset the timer */ if (this.timer != 0) { @@ -68,6 +71,7 @@ public class AccountsServiceUser : Object { } this.timer = GLib.Timeout.add_seconds(5 * 60, () => { + debug("Writing timestamp"); this.proxy.timestamp = GLib.get_monotonic_time(); return true; }); |