aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport-menu-item.vala')
-rw-r--r--src/transport-menu-item.vala6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/transport-menu-item.vala b/src/transport-menu-item.vala
index e767a90..e383b0b 100644
--- a/src/transport-menu-item.vala
+++ b/src/transport-menu-item.vala
@@ -43,8 +43,9 @@ public class TransportMenuitem : PlayerItem
public void handle_cached_action()
{
- if (this.cached_action != Transport.Action.NO_ACTION){
- Timeout.add_seconds (4, send_cached_action);
+ if (this.cached_action != Transport.Action.NO_ACTION){
+ //send_cached_action();
+ Timeout.add_seconds (1, send_cached_action);
}
}
@@ -78,6 +79,7 @@ public class TransportMenuitem : PlayerItem
else{
this.cached_action = (Transport.Action)input;
this.owner.instantiate();
+ this.property_set_int (MENUITEM_PLAY_STATE, (int)Transport.State.LAUNCHING);
}
}