diff options
author | Ted Gould <ted@gould.cx> | 2011-07-22 13:56:05 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-07-22 13:56:05 -0500 |
commit | d59df9bc7c25cd9983174b3a917a743ee4dcff1b (patch) | |
tree | 9352e725a5d8656c0f9333e5b07709a8706468e2 | |
parent | 195a64f16c356b1b75c81ec374699c94c636fbe2 (diff) | |
download | libayatana-appindicator-d59df9bc7c25cd9983174b3a917a743ee4dcff1b.tar.gz libayatana-appindicator-d59df9bc7c25cd9983174b3a917a743ee4dcff1b.tar.bz2 libayatana-appindicator-d59df9bc7c25cd9983174b3a917a743ee4dcff1b.zip |
Watching for the 'XAyatanaSecondaryActivate' method as well
-rw-r--r-- | src/app-indicator.c | 3 | ||||
-rw-r--r-- | src/notification-item.xml | 3 |
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"> |