diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-04-03 17:38:07 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-04-03 17:38:07 +0200 |
commit | 39fc49c52e23b9bb0964fc90716e63a3a4129c38 (patch) | |
tree | 6e8d10440cdd53eeae3b052c8ff50d870b744cd0 | |
parent | 49840f6fd022938e814e301f37013897fe3d6cc7 (diff) | |
download | ayatana-indicator-messages-39fc49c52e23b9bb0964fc90716e63a3a4129c38.tar.gz ayatana-indicator-messages-39fc49c52e23b9bb0964fc90716e63a3a4129c38.tar.bz2 ayatana-indicator-messages-39fc49c52e23b9bb0964fc90716e63a3a4129c38.zip |
ImAppMenu: pass the event timestamp when activating the item
-rw-r--r-- | src/im-app-menu-item.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/im-app-menu-item.c b/src/im-app-menu-item.c index a204631..afd21be 100644 --- a/src/im-app-menu-item.c +++ b/src/im-app-menu-item.c @@ -238,7 +238,10 @@ im_app_menu_item_activate (GtkMenuItem *item) ImAppMenuItemPrivate *priv = IM_APP_MENU_ITEM (item)->priv; if (priv->action && priv->action_group) - g_action_group_activate_action (priv->action_group, priv->action, NULL); + { + guint32 event_time = gtk_get_current_event_time (); + g_action_group_activate_action (priv->action_group, priv->action, g_variant_new_uint32(event_time)); + } } static void |