src/Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 10:03:41 +0000 (18:03 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 10:03:41 +0000 (18:03 +0800)
src/Builder4/ValaProjectSettings.vala

src/Builder4/ValaProjectSettings.bjs
src/Builder4/ValaProjectSettings.vala

index a41d517..9816420 100644 (file)
    "# 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 = _this.project.compilegroups.get(\"_default_\").compile_flags;\n    \n    this.default_directory_tree_store.load();    \n    this.default_packages_tree_store.load();            \n    this.targets_tree_store.load();\n    this.files_tree_store.load();\n\n}\n",
-   "xtype" : "VBox",
+   "xtype" : "Box",
    "string id" : "ValaProjectSettings",
    "| void save" : "()  {\n    this.project.writeConfig();\n}",
    "$ xns" : "Gtk",
+   "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
    "items" : [
     {
      "* pack" : "pack_start,true,true,0",
index 2aedd56..ff6b95a 100644 (file)
@@ -2,7 +2,7 @@ static ValaProjectSettings  _ValaProjectSettings;
 
 public class ValaProjectSettings : Object 
 {
-    public Gtk.VBox el;
+    public Gtk.Box el;
     private ValaProjectSettings  _this;
 
     public static ValaProjectSettings singleton()
@@ -41,7 +41,7 @@ public class ValaProjectSettings : Object
     public ValaProjectSettings()
     {
         _this = this;
-        this.el = new Gtk.VBox( true, 0 );
+        this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
         // my vars (dec)
         this.project = null;