aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.vala
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-10-14 10:54:49 -0400
committerKen VanDine <ken.vandine@canonical.com>2010-10-14 10:54:49 -0400
commited4349e18eaa8543ca727db2b8b272e36db5600f (patch)
tree6565082c7fcc441b689b75784fed07deedeccfee /src/music-player-bridge.vala
parent4d97b660ec5a21fb3fa48bdca75dbf77f9288b87 (diff)
parent7620afcd008217151fc02d6440df9741ed3d7e48 (diff)
downloadayatana-indicator-sound-ed4349e18eaa8543ca727db2b8b272e36db5600f.tar.gz
ayatana-indicator-sound-ed4349e18eaa8543ca727db2b8b272e36db5600f.tar.bz2
ayatana-indicator-sound-ed4349e18eaa8543ca727db2b8b272e36db5600f.zip
releasing version 0.4.9-0ubuntu1
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);