X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=src%2FBuilder4%2FValaProjectSettingsPopover.bjs;h=9299b4048fc70a0d0614e8fb5fe62fd611c2ec1b;hb=7bacc8bb5d29aa9fa7de206fb7432968267dd880;hp=07634bc047d35db498e6119ec5ce6ba8b03b7b0e;hpb=f283dd2c5d7f514fadc53ab6beaef0a35cca8fa4;p=roobuilder diff --git a/src/Builder4/ValaProjectSettingsPopover.bjs b/src/Builder4/ValaProjectSettingsPopover.bjs index 07634bc04..9299b4048 100644 --- a/src/Builder4/ValaProjectSettingsPopover.bjs +++ b/src/Builder4/ValaProjectSettingsPopover.bjs @@ -87,6 +87,29 @@ "utf8 placeholder_text" : "eg. -g --valasrc $BASEDIR ", "xtype" : "Entry" }, + { + "$ xns" : "Gtk", + "id" : "generate_meson", + "listeners" : { + "activate" : [ + "( ) => {", + "", + "\t_this.project.generate_meson = this.el.active;", + "}", + "\t" + ] + }, + "string label" : "Generate Meson", + "xtype" : "CheckButton" + } + ], + "xtype" : "Box" + }, + { + "$ xns" : "Gtk", + "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL", + "int spacing" : 10, + "items" : [ { "$ xns" : "Gtk", "Gtk.Align halign" : "Gtk.Align.START", @@ -1079,7 +1102,7 @@ "\t return false;", " });", " ", - " ", + " this.generate_meson.el.active = this.project.generate_meson;", " \t", " \tproject.loadTargetsIntoStore(this.target_model.el);", "\t",