aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-08 21:43:50 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-08 21:43:50 +0000
commit7576ffb4d9b247d1db2e44a7ea0f4ec8b5101f20 (patch)
tree870ceb5ca7ab8555fa23bd880df6569d6caab273 /src/mpris2-controller.vala
parentda2fbe31c29cadf4d8215d882d212ef40a0d1da0 (diff)
downloadayatana-indicator-sound-7576ffb4d9b247d1db2e44a7ea0f4ec8b5101f20.tar.gz
ayatana-indicator-sound-7576ffb4d9b247d1db2e44a7ea0f4ec8b5101f20.tar.bz2
ayatana-indicator-sound-7576ffb4d9b247d1db2e44a7ea0f4ec8b5101f20.zip
seeking is working, need a tidy up
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r--src/mpris2-controller.vala6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index e5bc1f6..dae8dfb 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -186,6 +186,12 @@ public class Mpris2Controller : GLib.Object
else if(command == TransportMenuitem.action.NEXT){
this.player.Next.begin();
}
+ else if(command == TransportMenuitem.action.REWIND){
+ this.player.Seek.begin(-1);
+ }
+ else if(command == TransportMenuitem.action.FORWIND){
+ this.player.Seek.begin(1);
+ }
}
public bool connected()