aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2010-09-08 12:32:06 +0200
committerSebastien Bacher <seb128@ubuntu.com>2010-09-08 12:32:06 +0200
commite8dbd1c4501965be441fb99855dc5d2f52d549dd (patch)
tree351494f8a9e94c35280dbc584e8abf7c3f71eb8e /src/player-controller.vala
parent0b25b8a95dfd8b8b6743f7a0a055be05dfea956b (diff)
parentb347212eb1cb41fb9739a9873b0ff8eb8abb4b77 (diff)
downloadayatana-indicator-sound-e8dbd1c4501965be441fb99855dc5d2f52d549dd.tar.gz
ayatana-indicator-sound-e8dbd1c4501965be441fb99855dc5d2f52d549dd.tar.bz2
ayatana-indicator-sound-e8dbd1c4501965be441fb99855dc5d2f52d549dd.zip
* New upstream release fixing those issues
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();
}