Builder4/ValaProjectSettings.vala
{
"# Project.Gtk project" : "null",
"# Xcls_MainWindow window" : "null",
- "| void show" : "(Project.Gtk project) {\n \n \n print(\"ValaProjectSettings show\\n\");\n \n this.project= project;\n\n this.compile_flags.el.text = \"\";\n this.default_packages_tree_store.el.clear();\n this.default_directory_tree_store.el.clear(); \n\n this.default_directory_tree_store.load(); \n \n if (this.project.compilegroups.has_key(\"default\")) {\n var def = this.project.compilegroups.get(\"default\");\n this.compile_flags.el.text = def.compile_flags;\n this.default_packages_tree_store.load(def.packages);\n\n } else {\n this.default_packages_tree_store.load(new Gee.ArrayList<string>());\n \n }\n\n\n}\n",
+ "| void show" : "(Project.Gtk project) {\n \n \n print(\"ValaProjectSettings show\\n\");\n \n this.project= project;\n\n this.compile_flags.el.text = \"\";\n \n this.default_directory_tree_store.load(); \n this.default_packages_tree_store.load(); \n \n\n\n}\n",
"xtype" : "VBox",
"string id" : "ValaProjectSettings",
"$ xns" : "Gtk",
this.project= project;
this.compile_flags.el.text = "";
- this.default_packages_tree_store.el.clear();
- this.default_directory_tree_store.el.clear();
-
+
this.default_directory_tree_store.load();
-
- if (this.project.compilegroups.has_key("default")) {
- var def = this.project.compilegroups.get("default");
- this.compile_flags.el.text = def.compile_flags;
- this.default_packages_tree_store.load(def.packages);
-
- } else {
- this.default_packages_tree_store.load(new Gee.ArrayList<string>());
-
- }
+ this.default_packages_tree_store.load();
+
}