aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-10-07 11:59:41 +0100
committerConor Curran <conor.curran@canonical.com>2010-10-07 11:59:41 +0100
commitcd0e255c3205477cbf002c5a060ee37e67236fd8 (patch)
tree0fc7de10ebaf25e2eaeebd1eb262c69ac901ead2 /src/player-controller.vala
parent9d49288df789fb210217c9715634cdbe78a64337 (diff)
downloadayatana-indicator-sound-cd0e255c3205477cbf002c5a060ee37e67236fd8.tar.gz
ayatana-indicator-sound-cd0e255c3205477cbf002c5a060ee37e67236fd8.tar.bz2
ayatana-indicator-sound-cd0e255c3205477cbf002c5a060ee37e67236fd8.zip
bug fixed
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index f5ec205..d5b79e7 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -160,8 +160,8 @@ public class PlayerController : GLib.Object
private static string format_client_name(string client_name)
{
string formatted = client_name;
- if(formatted.len() > 1){
- formatted = client_name.up(1).concat(client_name.slice(1, client_name.len()));
+ if(formatted.length > 1){
+ formatted = client_name.up(1).concat(client_name.slice(1, client_name.length));
debug("PlayerController->format_client_name - : %s", formatted);
}
return formatted;