aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-08-07 14:57:47 +0100
committerConor Curran <conor.curran@canonical.com>2010-08-07 14:57:47 +0100
commit383f76b32f0e58da4051a111bd51d01d58fd7e10 (patch)
treead2d105041ed1b82b34732ebbe6aeaa4dc4e46d4 /src/player-controller.vala
parent85a7764a2aeba260e2a2531dd28be66ec0680d6f (diff)
downloadayatana-indicator-sound-383f76b32f0e58da4051a111bd51d01d58fd7e10.tar.gz
ayatana-indicator-sound-383f76b32f0e58da4051a111bd51d01d58fd7e10.tar.bz2
ayatana-indicator-sound-383f76b32f0e58da4051a111bd51d01d58fd7e10.zip
mpris 2 underway, vala bindings proving troublesome
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index 1dac937..60f27ca 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -48,7 +48,7 @@ public class PlayerController : GLib.Object
private Dbusmenu.Menuitem root_menu;
public string name { get; set;}
public ArrayList<PlayerItem> custom_items;
- public MprisController mpris_adaptor;
+ public Mpris2Controller mpris_adaptor;
public AppInfo? app_info { get; set;}
public int menu_offset { get; set;}
@@ -105,10 +105,10 @@ public class PlayerController : GLib.Object
if(this.name == "Vlc"){
debug("establishing a vlc mpris controller");
- this.mpris_adaptor = new MprisController(this, "org.mpris.MediaPlayer.Player");
+ this.mpris_adaptor = new Mpris2Controller(this);
}
else{
- this.mpris_adaptor = new MprisController(this);
+ //this.mpris_adaptor = new MprisController(this);
}
// TODO refactor
if(this.mpris_adaptor.connected() == true){