aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-22 13:56:05 -0500
committerTed Gould <ted@gould.cx>2011-07-22 13:56:05 -0500
commitd59df9bc7c25cd9983174b3a917a743ee4dcff1b (patch)
tree9352e725a5d8656c0f9333e5b07709a8706468e2 /src/app-indicator.c
parent195a64f16c356b1b75c81ec374699c94c636fbe2 (diff)
downloadlibayatana-appindicator-d59df9bc7c25cd9983174b3a917a743ee4dcff1b.tar.gz
libayatana-appindicator-d59df9bc7c25cd9983174b3a917a743ee4dcff1b.tar.bz2
libayatana-appindicator-d59df9bc7c25cd9983174b3a917a743ee4dcff1b.zip
Watching for the 'XAyatanaSecondaryActivate' method as well
Diffstat (limited to 'src/app-indicator.c')
-rw-r--r--src/app-indicator.c3
1 files changed, 2 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 &&