diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-08-11 20:04:04 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-08-11 20:04:04 +0100 |
commit | b63691637ebc766e90c0da44e76cc7b9cc49872e (patch) | |
tree | 2c745c8bfa45f3d45402ce5e21308f5391e11de2 /src/music-player-bridge.vala | |
parent | 9244bd84d655fae8bbb2772d4aac1550b57a7c1c (diff) | |
download | ayatana-indicator-sound-b63691637ebc766e90c0da44e76cc7b9cc49872e.tar.gz ayatana-indicator-sound-b63691637ebc766e90c0da44e76cc7b9cc49872e.tar.bz2 ayatana-indicator-sound-b63691637ebc766e90c0da44e76cc7b9cc49872e.zip |
mpris2 working for now, but its all going to change again
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r-- | src/music-player-bridge.vala | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala index 352ea7f..daad42f 100644 --- a/src/music-player-bridge.vala +++ b/src/music-player-bridge.vala @@ -116,10 +116,8 @@ public class MusicPlayerBridge : GLib.Object if(server_is_not_of_interest(type)) return; string client_name = type.split(".")[1]; if (root_menu != null && client_name != null){ - registered_clients[client_name].vanish(); - registered_clients.remove(client_name); - debug("Successively removed menu_item for client %s from registered_clients", - client_name); + registered_clients[client_name].hibernate(); + debug("Successively offlined client %s", client_name); } } |