aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-16 17:24:34 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-16 17:24:34 +0000
commit4c7f07ce4106f7e0f4e04ca034fd781b309e2985 (patch)
treeba4fce4f0256e5420a2fd5cd366ce717b7230793 /src/transport-menu-item.vala
parent2937537d66777034bb2fdfd23200acfb5b8de042 (diff)
downloadayatana-indicator-sound-4c7f07ce4106f7e0f4e04ca034fd781b309e2985.tar.gz
ayatana-indicator-sound-4c7f07ce4106f7e0f4e04ca034fd781b309e2985.tar.bz2
ayatana-indicator-sound-4c7f07ce4106f7e0f4e04ca034fd781b309e2985.zip
working as expected
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);
}
}