aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-list-greeter.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-28 17:08:50 -0600
committerTed Gould <ted@gould.cx>2014-02-28 17:08:50 -0600
commitdb8f59aa75d57bed2dd74c40507d6db2481b5b0c (patch)
tree9caf7d77d100ad3358802e3cb66394c53de4b7d8 /src/media-player-list-greeter.vala
parent5a9752b71c90d82342dff8138b25f6af2dcb6b28 (diff)
downloadayatana-indicator-sound-db8f59aa75d57bed2dd74c40507d6db2481b5b0c.tar.gz
ayatana-indicator-sound-db8f59aa75d57bed2dd74c40507d6db2481b5b0c.tar.bz2
ayatana-indicator-sound-db8f59aa75d57bed2dd74c40507d6db2481b5b0c.zip
More debugging
Diffstat (limited to 'src/media-player-list-greeter.vala')
-rw-r--r--src/media-player-list-greeter.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/media-player-list-greeter.vala b/src/media-player-list-greeter.vala
index 541fe3e..6dd5eb9 100644
--- a/src/media-player-list-greeter.vala
+++ b/src/media-player-list-greeter.vala
@@ -78,14 +78,17 @@ public class MediaPlayerListGreeter : MediaPlayerList {
if (old_user != null) {
var old_player = players.lookup(old_user);
+ debug("Removing player for user: %s", old_user);
player_removed(old_player);
}
if (selected_user != null) {
var new_player = players.lookup(selected_user);
- if (new_player != null)
+ if (new_player != null) {
+ debug("Adding player for user: %s", selected_user);
player_added(new_player);
+ }
}
}