tests/forkme.vala
authorAlan Knowles <alan@roojs.com>
Thu, 14 May 2015 09:08:37 +0000 (17:08 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 14 May 2015 09:08:37 +0000 (17:08 +0800)
src/Builder4/PopoverFileDetails.bjs
src/Builder4/PopoverFileDetails.vala
src/Builder4/WindowState.vala
src/Palete/Palete.vala
src/Palete/ValaSource.vala
tests/forkme.vala [deleted file]

index 820e0d8..fbc71a3 100644 (file)
        "string title" : "Add / Edit File"
       },
       {
+       "int margin_right" : 4,
        "* pack" : "pack_start,false,false,4",
        "xtype" : "Table",
+       "uint row_spacing" : 2,
        "n_columns" : 2,
        "$ xns" : "Gtk",
        "n_rows" : 3,
        "$ homogeneous" : true,
+       "int margin_left" : 4,
        "items" : [
         {
          "label" : "Component Name",
        ]
       },
       {
+       "int margin_bottom" : 4,
+       "int margin_right" : 4,
        "* pack" : "pack_end,false,true,0",
        "xtype" : "HButtonBox",
        "$ xns" : "Gtk",
+       "int margin_left" : 4,
        "items" : [
         {
          "listeners" : {
index f30dacc..92a0bae 100644 (file)
@@ -215,6 +215,9 @@ public class Xcls_PopoverFileDetails : Object
             // my vars (dec)
 
             // set gobject values
+            this.el.margin_right = 4;
+            this.el.margin_left = 4;
+            this.el.row_spacing = 2;
             var child_0 = new Xcls_Label5( _this );
             child_0.ref();
             this.el.attach_defaults (  child_0.el , 0,1,0,1 );
@@ -694,6 +697,9 @@ public class Xcls_PopoverFileDetails : Object
             // my vars (dec)
 
             // set gobject values
+            this.el.margin_right = 4;
+            this.el.margin_left = 4;
+            this.el.margin_bottom = 4;
             var child_0 = new Xcls_Button22( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
index 63aed3b..5f5ce24 100644 (file)
@@ -41,8 +41,7 @@ public class WindowState : Object
        
        public DialogTemplateSelect template_select; 
        
-       public Xcls_DialogNewComponent new_file_dialog;
-       public Xcls_PopoverFileDetails file_details;
+       public Xcls_PopoverFileDetails file_details;
        
        
        // dialogs??
@@ -75,8 +74,7 @@ public class WindowState : Object
 
                // dialogs
 
-               this.fileNewInit(); // depricated...
-               this.fileDetailsInit();
+               this.fileDetailsInit();
 
                this.webkit_plugin = new Xcls_DialogPluginWebkit();
                this.template_select = new DialogTemplateSelect();
@@ -351,6 +349,7 @@ public class WindowState : Object
                 this.win.leftpane.el.pack_start(this.left_projects.el,true, true,0);
                 this.left_projects.el.show_all();
                 this.left_projects.project_selected.connect((proj) => {
+                       this.buttonsShowHide();
                        proj.scanDirs();
                        this.clutterfiles.loadProject(proj);
                
index 606b5ca..81d8007 100644 (file)
@@ -348,6 +348,7 @@ namespace Palete
                                ptype,
                                code
                 );
+                vs = null;
                return ret;
 
        }
index 1e91932..6a87966 100644 (file)
@@ -360,6 +360,7 @@ namespace Palete {
                        //(new Vala.CodeNode()).get_error_types().clear();
                        //(new Vala.NullType()).get_type_arguments().clear();
                        (new Vala.NullType(null)).get_type_arguments().clear();
+                       parser = null;
                        this.report.compile_notice("END", "", 0, "");
                        print("%s\n", valac);
                        print("ALL OK?\n");
diff --git a/tests/forkme.vala b/tests/forkme.vala
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-