diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-07-22 19:56:43 +0200 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-07-22 19:56:43 +0200 |
commit | cf97680d74aa9ab00cd55359d9e16acdad9f057f (patch) | |
tree | 5a96a46ad8617c0fc7f24870f4d3840078b7a50d /src/music-player-bridge.vala | |
parent | 928fbf4bab7659ec523ae16adc052ca42fece589 (diff) | |
download | ayatana-indicator-sound-cf97680d74aa9ab00cd55359d9e16acdad9f057f.tar.gz ayatana-indicator-sound-cf97680d74aa9ab00cd55359d9e16acdad9f057f.tar.bz2 ayatana-indicator-sound-cf97680d74aa9ab00cd55359d9e16acdad9f057f.zip |
trying to set the time line
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r-- | src/music-player-bridge.vala | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala index 3ee7b55..352ea7f 100644 --- a/src/music-player-bridge.vala +++ b/src/music-player-bridge.vala @@ -35,7 +35,7 @@ public class MusicPlayerBridge : GLib.Object playersDB = new FamiliarPlayersDB(); registered_clients = new HashMap<string, PlayerController> (); listener = Listener.ref_default(); - listener.indicator_added.connect(on_indicator_added); + listener.indicator_added += on_indicator_added; listener.indicator_removed.connect(on_indicator_removed); listener.indicator_modified.connect(on_indicator_modified); listener.server_added.connect(on_server_added); @@ -99,8 +99,7 @@ public class MusicPlayerBridge : GLib.Object client_name, calculate_menu_position(), PlayerController.state.READY); - registered_clients.set(client_name, ctrl); - + registered_clients.set(client_name, ctrl); debug("New Client of name %s has successfully registered with us", client_name); } // irregardless check that it has a desktop file if not kick off a request for it @@ -162,7 +161,7 @@ public class MusicPlayerBridge : GLib.Object { debug("MusicPlayerBridge-> on_server_count_changed with value %u", i); } - public void on_indicator_added(Indicate.ListenerServer object, Indicate.ListenerIndicator p0) + public void on_indicator_added(ListenerServer object, ListenerIndicator p0) { debug("MusicPlayerBridge-> on_indicator_added"); } |