From d59df9bc7c25cd9983174b3a917a743ee4dcff1b Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 22 Jul 2011 13:56:05 -0500 Subject: Watching for the 'XAyatanaSecondaryActivate' method as well --- src/app-indicator.c | 3 ++- src/notification-item.xml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/app-indicator.c b/src/app-indicator.c index 98aec7a..bdc4ea9 100644 --- a/src/app-indicator.c +++ b/src/app-indicator.c @@ -1024,7 +1024,8 @@ bus_method_call (GDBusConnection * connection, const gchar * sender, delta = ABS(delta); g_signal_emit(app, signals[SCROLL_EVENT], 0, delta, direction); - } else if (g_strcmp0(method, "SecondaryActivate") == 0) { + } else if (g_strcmp0(method, "SecondaryActivate") == 0 || + g_strcmp0(method, "XAyatanaSecondaryActivate") == 0) { GtkWidget *menuitem = priv->sec_activate_target; if (priv->sec_activate_enabled && menuitem && diff --git a/src/notification-item.xml b/src/notification-item.xml index 0cf043e..589a438 100644 --- a/src/notification-item.xml +++ b/src/notification-item.xml @@ -27,6 +27,9 @@ + + + -- cgit v1.2.3