aboutsummaryrefslogtreecommitdiff
path: root/src/accounts-service-user.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-25 15:50:44 -0600
committerTed Gould <ted@gould.cx>2014-02-25 15:50:44 -0600
commitc003018253a7f1574c5f370bf2e1c2148e1df328 (patch)
tree938cf52caa3dccd85e7b48e0161473b316674f41 /src/accounts-service-user.vala
parent0b93aa745830a32185f4383ba3813fbbd307bdf2 (diff)
parent69231381cb7656b551d860c441b8d9750f9f5bc2 (diff)
downloadayatana-indicator-sound-c003018253a7f1574c5f370bf2e1c2148e1df328.tar.gz
ayatana-indicator-sound-c003018253a7f1574c5f370bf2e1c2148e1df328.tar.bz2
ayatana-indicator-sound-c003018253a7f1574c5f370bf2e1c2148e1df328.zip
Merge trunk and export
Diffstat (limited to 'src/accounts-service-user.vala')
-rw-r--r--src/accounts-service-user.vala6
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;
});