diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-08-17 17:26:47 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-08-17 17:26:47 +0100 |
commit | 7aa4517861e27a0857d36e83844d670446c22ee6 (patch) | |
tree | 87fe092400ee06daf88b93fbccee53a77bd59220 /src/mpris-bridge.vala | |
parent | 04af32d9b321d4256cb1f7cf1f94b23387b75774 (diff) | |
download | ayatana-indicator-sound-7aa4517861e27a0857d36e83844d670446c22ee6.tar.gz ayatana-indicator-sound-7aa4517861e27a0857d36e83844d670446c22ee6.tar.bz2 ayatana-indicator-sound-7aa4517861e27a0857d36e83844d670446c22ee6.zip |
mpris 2 has landed
Diffstat (limited to 'src/mpris-bridge.vala')
-rw-r--r-- | src/mpris-bridge.vala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mpris-bridge.vala b/src/mpris-bridge.vala index bb02550..bd9d472 100644 --- a/src/mpris-bridge.vala +++ b/src/mpris-bridge.vala @@ -47,6 +47,17 @@ public class MprisBridge : GLib.Object } } + public void expose() + { + if(this.mode_in_use == mode.MPRIS_2){ + this.mpris2_controller.expose(); + } + else{ + warning("MPRIS1 clients don't have the ability to raise/expose the client"); + } + } + + public void set_track_position(double pos) { if(this.mode_in_use == mode.MPRIS_1){ |