aboutsummaryrefslogtreecommitdiff
path: root/src/title-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-08-17 17:26:47 +0100
committerConor Curran <conor.curran@canonical.com>2010-08-17 17:26:47 +0100
commit7aa4517861e27a0857d36e83844d670446c22ee6 (patch)
tree87fe092400ee06daf88b93fbccee53a77bd59220 /src/title-menu-item.vala
parent04af32d9b321d4256cb1f7cf1f94b23387b75774 (diff)
downloadayatana-indicator-sound-7aa4517861e27a0857d36e83844d670446c22ee6.tar.gz
ayatana-indicator-sound-7aa4517861e27a0857d36e83844d670446c22ee6.tar.bz2
ayatana-indicator-sound-7aa4517861e27a0857d36e83844d670446c22ee6.zip
mpris 2 has landed
Diffstat (limited to 'src/title-menu-item.vala')
-rw-r--r--src/title-menu-item.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/title-menu-item.vala b/src/title-menu-item.vala
index d7e16df..ec1cc62 100644
--- a/src/title-menu-item.vala
+++ b/src/title-menu-item.vala
@@ -35,6 +35,9 @@ public class TitleMenuitem : PlayerItem
{
this.owner.instantiate();
}
+ else if(this.owner.current_state == PlayerController.state.CONNECTED){
+ this.owner.mpris_bridge.expose();
+ }
}