aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mpris2-controller.vala8
-rw-r--r--src/sound-service.c2
-rw-r--r--src/transport-widget.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index dae8dfb..7838a67 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -176,7 +176,7 @@ public class Mpris2Controller : GLib.Object
public void transport_update(TransportMenuitem.action command)
{
- debug("transport_event input = %i", (int)command);
+ //debug("transport_event input = %i", (int)command);
if(command == TransportMenuitem.action.PLAY_PAUSE){
this.player.PlayPause.begin();
}
@@ -187,10 +187,12 @@ public class Mpris2Controller : GLib.Object
this.player.Next.begin();
}
else if(command == TransportMenuitem.action.REWIND){
- this.player.Seek.begin(-1);
+ debug("transport_event rewind = %i", (int)command);
+ this.player.Seek.begin(-500000);
}
else if(command == TransportMenuitem.action.FORWIND){
- this.player.Seek.begin(1);
+ debug("transport_event input = %i", (int)command);
+ this.player.Seek.begin(350000);
}
}
diff --git a/src/sound-service.c b/src/sound-service.c
index eeab33e..c79b9f6 100644
--- a/src/sound-service.c
+++ b/src/sound-service.c
@@ -40,10 +40,8 @@ service_shutdown (IndicatorService *service, gpointer user_data)
if (mainloop != NULL) {
g_debug("Service shutdown !");
-/*
close_pulse_activites();
g_main_loop_quit(mainloop);
-*/
}
return;
diff --git a/src/transport-widget.c b/src/transport-widget.c
index 2f5001c..00913aa 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -346,7 +346,7 @@ transport_widget_trigger_seek (gpointer userdata)
{
g_return_val_if_fail ( IS_TRANSPORT_WIDGET(userdata), FALSE );
TransportWidgetPrivate* priv = TRANSPORT_WIDGET_GET_PRIVATE (TRANSPORT_WIDGET(userdata));
- priv->skip_frequency = g_timeout_add (300,
+ priv->skip_frequency = g_timeout_add (100,
transport_widget_seek,
userdata);
return FALSE;