aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-27 17:56:08 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-27 17:56:08 -0600
commit6b2132fb4e700fe84a26adeac5126e8afbc507b3 (patch)
tree72dc5259b76b85ac8fee71c9ac05549c946bce89 /src/player-controller.vala
parent1529af0e1224f04616054095742b698d8814cec4 (diff)
parent378302145a86c96a664935e5a5f27721c560aed7 (diff)
downloadayatana-indicator-sound-6b2132fb4e700fe84a26adeac5126e8afbc507b3.tar.gz
ayatana-indicator-sound-6b2132fb4e700fe84a26adeac5126e8afbc507b3.tar.bz2
ayatana-indicator-sound-6b2132fb4e700fe84a26adeac5126e8afbc507b3.zip
merge the little fixes branch and prep for 057
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){