aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-27 17:08:08 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-27 17:08:08 -0600
commitb03499a823ded3f262aa065ee24b3e30a4cf0ca3 (patch)
tree53e523624e195a02084e78153638aa2e1df1fe73 /src/player-controller.vala
parent4e0d98ea31ff315c03d2a297af0743cd92acfedf (diff)
downloadayatana-indicator-sound-b03499a823ded3f262aa065ee24b3e30a4cf0ca3.tar.gz
ayatana-indicator-sound-b03499a823ded3f262aa065ee24b3e30a4cf0ca3.tar.bz2
ayatana-indicator-sound-b03499a823ded3f262aa065ee24b3e30a4cf0ca3.zip
playlist fetching is now async and some compilation warnings sorted
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index adefb65..024b88b 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -189,20 +189,6 @@ public class PlayerController : GLib.Object
}
}
- private static string format_player_name(owned string app_info_name)
- {
- string result = app_info_name.down().strip();
- var tokens = result.split(" ");
- if(tokens.length > 1){
- result = tokens[0];
- }
- if(result.length > 1){
- result = result.up(1).concat(result.slice(1, result.length));
- }
- debug("PlayerController->format_player_name - : %s", result);
- return result;
- }
-
private void determine_state()
{
if(this.mpris_bridge.connected() == true){