aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-08-31 10:26:38 +0100
committerConor Curran <conor.curran@canonical.com>2010-08-31 10:26:38 +0100
commit27cffeb0da739fa484ea22e6dbad26fe2978f451 (patch)
treed908c400b8b0a906eca6e87e3f6e26546b650e18 /src/player-controller.vala
parente65973ff51c6db68adfb745dcc4df348031b34c3 (diff)
parent358766335b244a2687469687d0ecacfb4238b221 (diff)
downloadayatana-indicator-sound-27cffeb0da739fa484ea22e6dbad26fe2978f451.tar.gz
ayatana-indicator-sound-27cffeb0da739fa484ea22e6dbad26fe2978f451.tar.bz2
ayatana-indicator-sound-27cffeb0da739fa484ea22e6dbad26fe2978f451.zip
mreged the mpris1 removal branch
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index 3e12dce..4d9f054 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -45,11 +45,14 @@ public class PlayerController : GLib.Object
private Dbusmenu.Menuitem root_menu;
public string name { get; set;}
public ArrayList<PlayerItem> custom_items;
- public MprisBridge mpris_bridge;
+ public Mpris2Controller mpris_bridge;
public AppInfo? app_info { get; set;}
public int menu_offset { get; set;}
- public PlayerController(Dbusmenu.Menuitem root, string client_name, int offset, state initial_state)
+ public PlayerController(Dbusmenu.Menuitem root,
+ string client_name,
+ int offset,
+ state initial_state)
{
this.root_menu = root;
this.name = format_client_name(client_name.strip());
@@ -97,7 +100,7 @@ public class PlayerController : GLib.Object
debug("establish_mpris_connection - Not ready to connect");
return;
}
- this.mpris_bridge = new MprisBridge(this);
+ this.mpris_bridge = new Mpris2Controller(this);
this.determine_state();
}