aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-07 13:36:56 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-07 13:36:56 +0100
commitcaf13b4dccb20aff410ffc0da63c298cabbcca5f (patch)
treef60e93fb96d0f2a3bdd0f5faa05dfcd158b99679 /src/music-player-bridge.vala
parent410965575fa1039cbcc6c6ef7f7ef316438118ed (diff)
downloadayatana-indicator-sound-caf13b4dccb20aff410ffc0da63c298cabbcca5f.tar.gz
ayatana-indicator-sound-caf13b4dccb20aff410ffc0da63c298cabbcca5f.tar.bz2
ayatana-indicator-sound-caf13b4dccb20aff410ffc0da63c298cabbcca5f.zip
fixed the mpris connection problems
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r--src/music-player-bridge.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala
index 77341a4..46723cb 100644
--- a/src/music-player-bridge.vala
+++ b/src/music-player-bridge.vala
@@ -84,6 +84,7 @@ public class MusicPlayerBridge : GLib.Object
// If we have an instance already for this player, ensure it is switched to active
if(this.registered_clients.keys.contains(client_name)){
debug("It figured out that it already has an instance for this player already");
+ this.registered_clients[client_name].update_state(PlayerController.READY);
this.registered_clients[client_name].activate();
}
//else init a new one