StatusIcon.vala
[gitlive] / StatusIcon.vala
index 5bdfeb3..c176e27 100644 (file)
@@ -56,8 +56,9 @@ public class StatusIconA : StatusIcon {
         menu.ref();       
 
            
-        this.popup_menu.connect( (  button,   time) =>{
-            
+        //this.popup_menu.connect( (  button,   time) =>{
+       this.button_press_event.connect( (  button) =>{
+               
             //print(Array.prototype.slice.call(arguments).join(','));
             print("menu activiate called\n");
             //var menu = this.get('menu');
@@ -79,7 +80,7 @@ public class StatusIconA : StatusIcon {
                         //this.position_menu,
                        null,
                         button,
-                         time
+                      0 //   time
             );