//title : 'gitlive',
this.stock = Gtk.Stock.REFRESH;
this.tooltip_text = "GitLive";
- this.title = "vgitlive";
+ this.title = "gitlive";
- this.set_name("vgitlive");
+ this.set_name("gitlive");
this.set_visible(true);
var menu = new MenuA();
menu.ref();
-
- this.popup_menu.connect( ((uint button, uint time) =>{
-
+
+
+ this.popup_menu.connect( ( button, time) =>{
+ //this.button_press_event.connect( ( ) =>{
+
//print(Array.prototype.slice.call(arguments).join(','));
print("menu activiate called\n");
//var menu = this.get('menu');
//Gtk.get_current_event_device ()
menu.popup(
-
- null, null,
- this.position_menu, 0,
- Gtk.get_current_event_time()
+
+ null,
+ this.position_menu,
+ null,
+ 0, time // time
);
-
//var g = { };
//var a = new Gdk.Rectangle();
// needs direction=inout setting in gir to work (in bugzilla @present)
// should check to see if @ top or bottom I guess..
//menu.el.get_toplevel().move(a.x, a.y +a.height);
//menu.el.get_toplevel().move(10,10);
+ //return false;
});