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.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport-menu-item.vala b/src/transport-menu-item.vala
index 4ec7dad..0af3118 100644
--- a/src/transport-menu-item.vala
+++ b/src/transport-menu-item.vala
@@ -70,6 +70,9 @@ public class TransportMenuitem : PlayerItem
Variant input_value,
uint timestamp)
{
+ if (name != Dbusmenu.MENUITEM_EVENT_ACTIVATED)
+ return;
+
Variant v = input_value;
if ( input_value.is_of_type (VariantType.VARIANT)){
v = input_value.get_variant();
@@ -82,7 +85,7 @@ public class TransportMenuitem : PlayerItem
}
else{
this.cached_action = (Transport.Action)input;
- this.owner.instantiate();
+ this.owner.instantiate(timestamp);
this.property_set_int (MENUITEM_PLAY_STATE, (int)Transport.State.LAUNCHING);
}
}