},
{
"listeners" : {
- "activate" : "() => {\n _this.windowstate.vala_compile_errors.show(this.notices, this.el);\n}",
- "button_press_event" : ""
+ "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_depricated",
"xtype" : "ImageMenuItem",
"# Json.Object notices" : "new Json.Object()",
"$ xns" : "Gtk",
+ "string XXXX" : "",
"items" : [
{
"utf8 icon_name" : "dialog-information",
// my vars (def)
public Json.Object notices;
+ public string XXXX;
// ctor
public Xcls_statusbar_depricated(Xcls_MainWindow _owner )
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);
});
- this.el.button_press_event.connect( );
}
// user defined functions