aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-10-14 13:32:58 +0100
committerConor Curran <conor.curran@canonical.com>2010-10-14 13:32:58 +0100
commit8067376fb719ac5bf577a3e85d080eec765ec465 (patch)
tree6bc12c4b1da8e645b1e1708f404350247d929156 /src/player-controller.vala
parent7ea2deb67919da59bbeab00e3b4e244c8395ff58 (diff)
parent70d0835c44d70ab88c1553d5a1263d6593ad3f36 (diff)
downloadayatana-indicator-sound-8067376fb719ac5bf577a3e85d080eec765ec465.tar.gz
ayatana-indicator-sound-8067376fb719ac5bf577a3e85d080eec765ec465.tar.bz2
ayatana-indicator-sound-8067376fb719ac5bf577a3e85d080eec765ec465.zip
fixes tranlation mpris name regression
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index d5b79e7..ad8e989 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -44,6 +44,7 @@ public class PlayerController : GLib.Object
private Dbusmenu.Menuitem root_menu;
public string name { get; set;}
+ public string mpris_name { get; set;}
public ArrayList<PlayerItem> custom_items;
public Mpris2Controller mpris_bridge;
public AppInfo? app_info { get; set;}
@@ -51,11 +52,13 @@ public class PlayerController : GLib.Object
public PlayerController(Dbusmenu.Menuitem root,
string client_name,
+ string mpris_name,
int offset,
state initial_state)
{
this.root_menu = root;
this.name = format_client_name(client_name.strip());
+ this.mpris_name = mpris_name;
this.custom_items = new ArrayList<PlayerItem>();
this.current_state = initial_state;
this.menu_offset = offset;