//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( () =>{
-
+
+
+ //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');
menu.popup(
null, null,
- this.position_menu, 0,
- Gtk.get_current_event_time()
+ //this.position_menu,
+ null,
+ button,
+ 0 // time
);