aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-user.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-28 16:25:09 -0600
committerTed Gould <ted@gould.cx>2014-02-28 16:25:09 -0600
commitdd42fb51e44d1a1233e6a803a997af7c20b8dc56 (patch)
tree4a6746c989e5677af1ba29f7bfaaeb41fa26dd45 /src/media-player-user.vala
parent3847d2c622e3cd838bd485403c1c4378aa57a637 (diff)
downloadayatana-indicator-sound-dd42fb51e44d1a1233e6a803a997af7c20b8dc56.tar.gz
ayatana-indicator-sound-dd42fb51e44d1a1233e6a803a997af7c20b8dc56.tar.bz2
ayatana-indicator-sound-dd42fb51e44d1a1233e6a803a997af7c20b8dc56.zip
Wait until we have data before saying that we can add the player
Diffstat (limited to 'src/media-player-user.vala')
-rw-r--r--src/media-player-user.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/media-player-user.vala b/src/media-player-user.vala
index 28ec5ae..a4b75c3 100644
--- a/src/media-player-user.vala
+++ b/src/media-player-user.vala
@@ -120,8 +120,8 @@ public class MediaPlayerUser : MediaPlayer {
}
});
- /* Update all of them -- we've got a proxy! */
- queue_property_notification("Timestamp");
+ debug("Notifying player is ready for user: %s", this.username);
+ this.notify_property("is-running");
} catch (Error e) {
this.proxy = null;
warning("Unable to get proxy to user '%s' sound settings: %s", username, e.message);