aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.vala
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-10-14 06:40:13 -0400
committerBazaar Package Importer <james.westby@ubuntu.com>2010-10-14 06:40:13 -0400
commit71832965ce4ef557479d110b1d52814a8588f1bc (patch)
tree6565082c7fcc441b689b75784fed07deedeccfee /src/music-player-bridge.vala
parent3954f25cb99c9e6042d0f036fda0f2636d76ef93 (diff)
parented4349e18eaa8543ca727db2b8b272e36db5600f (diff)
downloadayatana-indicator-sound-71832965ce4ef557479d110b1d52814a8588f1bc.tar.gz
ayatana-indicator-sound-71832965ce4ef557479d110b1d52814a8588f1bc.tar.bz2
ayatana-indicator-sound-71832965ce4ef557479d110b1d52814a8588f1bc.zip
* New upstream release.
- fixes tranlation mpris name regression (LP: #654140)
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r--src/music-player-bridge.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala
index 9ba4ef6..57f5636 100644
--- a/src/music-player-bridge.vala
+++ b/src/music-player-bridge.vala
@@ -58,6 +58,7 @@ public class MusicPlayerBridge : GLib.Object
GLib.AppInfo app_info = info as GLib.AppInfo;
PlayerController ctrl = new PlayerController(this.root_menu,
truncate_player_name(app_info.get_name()),
+ determine_key(app),
calculate_menu_position(),
PlayerController.state.OFFLINE);
ctrl.app_info = app_info;
@@ -99,6 +100,7 @@ public class MusicPlayerBridge : GLib.Object
bridge.playersDB.insert(path);
PlayerController ctrl = new PlayerController(bridge.root_menu,
name,
+ determine_key(path),
bridge.calculate_menu_position(),
PlayerController.state.READY);
ctrl.set("app_info", app_info);