}
}
-
-
+ public string version = "1.0";
+ public string licence = "LGPL";
public string path = "";
private Gee.ArrayList<JsRender.JsRender> sub_paths;
public Gee.HashMap<string,Palete.GirObject> gir_cache = null; // used by Gir ??? is this used by Roo?
//public Palete.ValaCompileRequest last_request = null; // depricated?
public Gee.HashMap<string,GLib.ListStore>? errorsByType = null;
-
+ public bool loading = false; // flag this to block saving (normally when loading ui that might trigger save..
protected Gee.HashMap<string,Palete.LanguageClient> language_servers;
public void save()
{
-
+
+ if (this.loading) {
+ return;
+ }
+
var s = this.toJSON();
GLib.debug("Save Project %s\n%s", this.name, s);
try {
if (subdir == "build-dir") { // flatpack
return;
}
+ if (subdir == "repo") { // flatpack ?? wrong command?
+ return;
+ }
if (subdir == "autom4te.cache") { // automake?
return;
}