aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.vala
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2010-08-18 15:51:01 +0200
committerSebastien Bacher <seb128@ubuntu.com>2010-08-18 15:51:01 +0200
commitb4d305f16bae6804dcf2acf8b9ecc4629807c150 (patch)
treedefa24d440ac7380e17acdee738674022001f6e2 /src/music-player-bridge.vala
parent986fc648fc6544aaa3bb40a17e1345e0247a4b57 (diff)
downloadayatana-indicator-sound-b4d305f16bae6804dcf2acf8b9ecc4629807c150.tar.gz
ayatana-indicator-sound-b4d305f16bae6804dcf2acf8b9ecc4629807c150.tar.bz2
ayatana-indicator-sound-b4d305f16bae6804dcf2acf8b9ecc4629807c150.zip
Import upstream version 0.4.0
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r--src/music-player-bridge.vala6
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);
}
}