diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-03-16 17:24:34 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-03-16 17:24:34 +0000 |
commit | 4c7f07ce4106f7e0f4e04ca034fd781b309e2985 (patch) | |
tree | ba4fce4f0256e5420a2fd5cd366ce717b7230793 /src/transport-menu-item.vala | |
parent | 2937537d66777034bb2fdfd23200acfb5b8de042 (diff) | |
download | ayatana-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.vala | 6 |
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); } } |