aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app-indicator.c3
-rw-r--r--src/notification-item.xml3
2 files changed, 5 insertions, 1 deletions
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 @@
<arg type="i" name="x" direction="in" />
<arg type="i" name="y" direction="in" />
</method>
+ <method name="XAyatanaSecondaryActivate">
+ <arg type="u" name="timestamp" direction="in" />
+ </method>
<!-- Signals -->
<signal name="NewIcon">