aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2012-03-16 17:30:21 +0000
committerConor Curran <conor.curran@canonical.com>2012-03-16 17:30:21 +0000
commitf0bcb96d0f2a62ba7497b387ca1cf290b39aea33 (patch)
tree3fa876fad4fd1cb43b6836f0e7c1cdfe05d66cdc /src/transport-menu-item.vala
parent324a229148cc6c7daedbfebccc01250615604ce7 (diff)
downloadayatana-indicator-sound-f0bcb96d0f2a62ba7497b387ca1cf290b39aea33.tar.gz
ayatana-indicator-sound-f0bcb96d0f2a62ba7497b387ca1cf290b39aea33.tar.bz2
ayatana-indicator-sound-f0bcb96d0f2a62ba7497b387ca1cf290b39aea33.zip
set the player name on the transport item so as hud can identify the default player
Diffstat (limited to 'src/transport-menu-item.vala')
-rw-r--r--src/transport-menu-item.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport-menu-item.vala b/src/transport-menu-item.vala
index ec41dd7..4ec7dad 100644
--- a/src/transport-menu-item.vala
+++ b/src/transport-menu-item.vala
@@ -38,6 +38,7 @@ public class TransportMenuitem : PlayerItem
}
construct{
this.property_set_int(MENUITEM_PLAY_STATE, (int)Transport.State.PAUSED);
+ this.property_set (MENUITEM_PROP_LABEL, this.owner.app_info.get_name());
this.cached_action = Transport.Action.NO_ACTION;
}