diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-07-15 13:27:06 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-07-15 13:27:06 +0100 |
commit | 0358622a18d0dbf2d1b413a708e248db974f97a8 (patch) | |
tree | 480a4f12b9434a404bbcf8afc8a72b32ae6f856e /src/music-player-bridge.vala | |
parent | d8253fc0cfe667316e2e5f033bcbfba4c3044297 (diff) | |
parent | 6bab9d75b22aa21ed27e4961e6dbf4bbcdd2e94c (diff) | |
download | ayatana-indicator-sound-0358622a18d0dbf2d1b413a708e248db974f97a8.tar.gz ayatana-indicator-sound-0358622a18d0dbf2d1b413a708e248db974f97a8.tar.bz2 ayatana-indicator-sound-0358622a18d0dbf2d1b413a708e248db974f97a8.zip |
merged scrub bar work
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r-- | src/music-player-bridge.vala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala index 2f87b2d..3ee7b55 100644 --- a/src/music-player-bridge.vala +++ b/src/music-player-bridge.vala @@ -77,7 +77,7 @@ public class MusicPlayerBridge : GLib.Object return 2; } else{ - return (2 + (this.registered_clients.size * 4)); + return (2 + (this.registered_clients.size * PlayerController.WIDGET_QUANTITY)); } } @@ -93,9 +93,8 @@ public class MusicPlayerBridge : GLib.Object this.registered_clients[client_name].update_state(PlayerController.state.READY); this.registered_clients[client_name].activate(); } - //else init a new one else{ - + //else init a new one PlayerController ctrl = new PlayerController(root_menu, client_name, calculate_menu_position(), |