aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-list-mpris.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-25 16:47:45 -0600
committerTed Gould <ted@gould.cx>2014-02-25 16:47:45 -0600
commite9216681e8644d91d8efc2aff76810d9172e48a6 (patch)
tree2378215580721c8ba0f4426564e849122c367229 /src/media-player-list-mpris.vala
parentc003018253a7f1574c5f370bf2e1c2148e1df328 (diff)
downloadayatana-indicator-sound-e9216681e8644d91d8efc2aff76810d9172e48a6.tar.gz
ayatana-indicator-sound-e9216681e8644d91d8efc2aff76810d9172e48a6.tar.bz2
ayatana-indicator-sound-e9216681e8644d91d8efc2aff76810d9172e48a6.zip
Truth is difficult
Diffstat (limited to 'src/media-player-list-mpris.vala')
-rw-r--r--src/media-player-list-mpris.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/media-player-list-mpris.vala b/src/media-player-list-mpris.vala
index 0ed3c72..65fb886 100644
--- a/src/media-player-list-mpris.vala
+++ b/src/media-player-list-mpris.vala
@@ -55,6 +55,8 @@ public class MediaPlayerListMpris : MediaPlayerList {
* Adds the player associated with @desktop_id. Does nothing if such a player already exists.
*/
MediaPlayerMpris? insert (string desktop_id) {
+ debug("Inserting player: %s", desktop_id);
+
var id = desktop_id.has_suffix (".desktop") ? desktop_id : desktop_id + ".desktop";
MediaPlayerMpris? player = this._players.lookup (id);