From 08b9a820ea8f5bf7e0271d4c2522b56cab27ebe6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 14 Nov 2014 13:10:44 +0800 Subject: [PATCH] StatusIcon.vala --- StatusIcon.vala | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/StatusIcon.vala b/StatusIcon.vala index 189ca8e7..d1649bb7 100644 --- a/StatusIcon.vala +++ b/StatusIcon.vala @@ -54,8 +54,9 @@ public class StatusIconA : StatusIcon { var menu = new MenuA(); menu.ref(); - - this.popup_menu.connect( ((uint button, uint time) =>{ + + + this.popup_menu.connect( ( button, time) =>{ //print(Array.prototype.slice.call(arguments).join(',')); print("menu activiate called\n"); @@ -75,8 +76,10 @@ public class StatusIconA : StatusIcon { menu.popup( null, null, - this.position_menu, 0, - Gtk.get_current_event_time() + //this.position_menu, + null, + button, + time ); -- 2.39.2