aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-13 12:18:08 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-13 12:18:08 +0100
commit4325e0092d77cc2d993c7305c49d0517f3defb0e (patch)
treec3ed0eba5a33b8e55b104f8eb9b25f868c9fe3b1 /src/music-player-bridge.vala
parentf383ead1168dde3374dabc2040035907d4ab484d (diff)
downloadayatana-indicator-sound-4325e0092d77cc2d993c7305c49d0517f3defb0e.tar.gz
ayatana-indicator-sound-4325e0092d77cc2d993c7305c49d0517f3defb0e.tar.bz2
ayatana-indicator-sound-4325e0092d77cc2d993c7305c49d0517f3defb0e.zip
prep work done for scrub bar
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r--src/music-player-bridge.vala5
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(),