aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r--src/music-player-bridge.vala11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala
index 3cda638..727c36b 100644
--- a/src/music-player-bridge.vala
+++ b/src/music-player-bridge.vala
@@ -158,25 +158,26 @@ public class MusicPlayerBridge : GLib.Object
this.watcher.client_disappeared.connect (this.client_has_vanished);
}
- public void enable_player_specific_items_for_client (string desktop_id)
+ public void enable_player_specific_items_for_client (string object_path,
+ string desktop_id)
{
// TODO
}
- public void enable_track_specific_items_for_client (string desktop_id)
+ public void enable_track_specific_items_for_client (string object_path,
+ string desktop_id)
{
var mpris_key = determine_key ( desktop_id );
if (this.registered_clients.has_key (mpris_key) == false){
warning ("we don't have a client with desktop id %s registered", desktop_id);
return;
}
- this.registered_clients[mpris_key].enable_track_specific_items();
+ this.registered_clients[mpris_key].enable_track_specific_items(object_path);
}
private static AppInfo? create_app_info ( string desktop )
{
- DesktopAppInfo info = new DesktopAppInfo ( desktop ) ;
-
+ DesktopAppInfo info = new DesktopAppInfo ( desktop );
if ( desktop == null || info == null ){
warning ( "Could not create a desktopappinfo instance from app: %s", desktop );
return null;