src/Builder4/MainWindow.vala
},
{
"listeners" : {
- "button_press_event" : "() => {\n if (this.popup == null) {\n this.popup = new Xcls_ValaCompileErrors();\n this.popup.window = _this;\n }\n if (this.popup.active) {\n this.popup.active = false;\n this.popup.el.hide();\n return true;\n }\n this.popup.show(this.notices, this.el);\n return true;\n}"
+ "button_press_event" : "() => {\n if (this.popup == null) {\n this.popup = new Xcls_ValaCompileErrors();\n this.popup.window = _this;\n }\n \n if (_this.statusbar_errors.popup != null && _this.statusbar_errors.popup.active) {\n _this.statusbar_errors.popup.active = false;\n _this.statusbar_errors.popup.el.hide();\n }\n if (_this.statusbar_depricated.popup != null && _this.statusbar_depricated.popup.active) {\n _this.statusbar_depricated.popup.active = false;\n _this.statusbar_depricated.popup.el.hide();\n }\n \n if (this.popup.active) {\n this.popup.active = false;\n this.popup.el.hide();\n return true;\n }\n this.popup.show(this.notices, this.el);\n return true;\n}"
},
"bool always_show_image" : true,
"id" : "statusbar_warnings",
this.popup = new Xcls_ValaCompileErrors();
this.popup.window = _this;
}
+
+ if (_this.statusbar_errors.popup != null && _this.statusbar_errors.popup.active) {
+ _this.statusbar_errors.popup.active = false;
+ _this.statusbar_errors.popup.el.hide();
+ }
+ if (_this.statusbar_depricated.popup != null && _this.statusbar_depricated.popup.active) {
+ _this.statusbar_depricated.popup.active = false;
+ _this.statusbar_depricated.popup.el.hide();
+ }
+
if (this.popup.active) {
this.popup.active = false;
this.popup.el.hide();