src/Builder4/MainWindow.vala
},
{
"listeners" : {
- "activate" : "() => {\n _this.windowstate.vala_compile_errors.show(this.notices, this.el);\n}"
+ "button_press_event" : "() => {\n if (this.popup == null) {\n this.popup = new Xcls_ValaCompileErrors();\n this.popup.window = _this;\n }\n this.popup.show(this.notices, this.el);\n}"
},
"bool always_show_image" : true,
"id" : "statusbar_warnings",
this.el.set_image ( child_0.el );
// listeners
- this.el.activate.connect( () => {
- _this.windowstate.vala_compile_errors.show(this.notices, this.el);
+ this.el.button_press_event.connect( () => {
+ if (this.popup == null) {
+ this.popup = new Xcls_ValaCompileErrors();
+ this.popup.window = _this;
+ }
+ this.popup.show(this.notices, this.el);
});
}