aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-01-27 16:13:08 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-01-27 16:13:08 -0500
commit5338c77428955cf6701b5fa9cad84e135f6522b2 (patch)
tree45b8dd1f84a772c6a031a760abc7592236346779 /src/player-controller.vala
parent603ecf78d1f2e897ac60ecf585569c8758fe5d1e (diff)
parent759793a2dda77abd227921e119bb329271c36a55 (diff)
downloadayatana-indicator-sound-5338c77428955cf6701b5fa9cad84e135f6522b2.tar.gz
ayatana-indicator-sound-5338c77428955cf6701b5fa9cad84e135f6522b2.tar.bz2
ayatana-indicator-sound-5338c77428955cf6701b5fa9cad84e135f6522b2.zip
releasing version 0.5.7-0ubuntu1
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){