diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-10-14 12:45:32 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-10-14 12:45:32 +0100 |
commit | 70d0835c44d70ab88c1553d5a1263d6593ad3f36 (patch) | |
tree | 6bc12c4b1da8e645b1e1708f404350247d929156 /src/music-player-bridge.vala | |
parent | 7ea2deb67919da59bbeab00e3b4e244c8395ff58 (diff) | |
download | ayatana-indicator-sound-70d0835c44d70ab88c1553d5a1263d6593ad3f36.tar.gz ayatana-indicator-sound-70d0835c44d70ab88c1553d5a1263d6593ad3f36.tar.bz2 ayatana-indicator-sound-70d0835c44d70ab88c1553d5a1263d6593ad3f36.zip |
fixed the mpris interface problem for edge translation cases
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r-- | src/music-player-bridge.vala | 2 |
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); |