aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2013-04-11 17:54:50 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2013-04-11 17:54:50 +0200
commit0c7736720fe80163f9a59f2c7c83ddd5be88e034 (patch)
treec19dbe15bcff064cc296a2ac73089c954ad74b9b
parent4d84133ab07c5ad5a5eee625f1385778e60273ae (diff)
downloadayatana-indicator-sound-0c7736720fe80163f9a59f2c7c83ddd5be88e034.tar.gz
ayatana-indicator-sound-0c7736720fe80163f9a59f2c7c83ddd5be88e034.tar.bz2
ayatana-indicator-sound-0c7736720fe80163f9a59f2c7c83ddd5be88e034.zip
TransportMenuItem: ignore events if they are not of the dbus-menu transport
-rw-r--r--src/transport-menu-item.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport-menu-item.vala b/src/transport-menu-item.vala
index 0af3118..2a77d5a 100644
--- a/src/transport-menu-item.vala
+++ b/src/transport-menu-item.vala
@@ -70,7 +70,7 @@ public class TransportMenuitem : PlayerItem
Variant input_value,
uint timestamp)
{
- if (name != Dbusmenu.MENUITEM_EVENT_ACTIVATED)
+ if (name != DbusmenuTransport.MENUITEM_STATE_CHANGE)
return;
Variant v = input_value;