aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-watcher.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpris2-watcher.vala')
-rw-r--r--src/mpris2-watcher.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mpris2-watcher.vala b/src/mpris2-watcher.vala
index cdfb9c6..740089d 100644
--- a/src/mpris2-watcher.vala
+++ b/src/mpris2-watcher.vala
@@ -94,7 +94,7 @@ public class Mpris2Watcher : GLib.Object
MprisRoot? mpris2_root = this.create_mpris_root(address);
if (mpris2_root == null) return;
bool use_playlists = this.supports_playlists ( address );
- client_appeared (mpris2_root.DesktopEntry, address, use_playlists);
+ client_appeared (mpris2_root.DesktopEntry + ".desktop", address, use_playlists);
}
}
}
@@ -116,7 +116,7 @@ public class Mpris2Watcher : GLib.Object
else if (previous_owner == "" && current_owner != "") {
debug ("Client '%s' has appeared", name);
bool use_playlists = this.supports_playlists ( name );
- client_appeared (mpris2_root.DesktopEntry, name, use_playlists);
+ client_appeared (mpris2_root.DesktopEntry + ".desktop", name, use_playlists);
}
}