aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-01-27 10:57:41 -0500
committerBazaar Package Importer <james.westby@ubuntu.com>2011-01-27 10:57:41 -0500
commitca22323b4ff36f6bd0e76369056f362d900ef1c8 (patch)
tree45b8dd1f84a772c6a031a760abc7592236346779 /src/player-controller.vala
parent6eac4d8a9359143ecc6120806e48176f654e2543 (diff)
parent5338c77428955cf6701b5fa9cad84e135f6522b2 (diff)
downloadayatana-indicator-sound-ca22323b4ff36f6bd0e76369056f362d900ef1c8.tar.gz
ayatana-indicator-sound-ca22323b4ff36f6bd0e76369056f362d900ef1c8.tar.bz2
ayatana-indicator-sound-ca22323b4ff36f6bd0e76369056f362d900ef1c8.zip
* New upstream release.
- Music control buttons flicker (LP: #684755) - Sound Menu should re-read playlists from MPRIS apps when PropertiesChanged is postec (LP: #707042) - Spotify crashes the service (LP: #707367) - Refactor service dbus code plus state handling (LP: #708793) - changing the volume is impossible while muted (LP: #558784) - Banshee icon changes to coloured icon once in use (LP: #692648)
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){