src/Builder4/EditProject.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 7 Jun 2016 04:48:23 +0000 (12:48 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 7 Jun 2016 04:48:23 +0000 (12:48 +0800)
src/Builder4/EditProject.vala

src/Builder4/EditProject.bjs
src/Builder4/EditProject.vala

index 210170e..b55233e 100644 (file)
@@ -9,7 +9,7 @@
  "items" : [
   {
    "listeners" : {
-    "destroy_event" : " (self, event) => {\n  this.el.response(0);\n//     this.el.hide();\n    return false;\n}"
+    "destroy_event" : "(self, event) => {\n\tthis.el.response(0);\n//     this.el.hide();\n    return false;\n}"
    },
    "default_width" : 600,
    "$ deletable" : true,
@@ -24,8 +24,8 @@
    "items" : [
     {
      "bool expand" : true,
-     "$ pack" : " get_content_area().add \n \n",
      "xtype" : "Box",
+     "$ pack" : " get_content_area().add \n \n",
      "$ xns" : "Gtk",
      "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "$ homogeneous" : false,
@@ -39,8 +39,8 @@
        "items" : [
         {
          "label" : "Project type :",
-         "* pack" : "pack_start,false,true,3",
          "xtype" : "Label",
+         "* pack" : "pack_start,false,true,3",
          "$ xns" : "Gtk"
         },
         {
          "items" : [
           {
            "id" : "cellrender",
-           "xtype" : "CellRendererText",
            "* pack" : "pack_start,true",
+           "xtype" : "CellRendererText",
            "$ xns" : "Gtk"
           },
           {
            "id" : "model",
-           "* pack" : "set_model",
            "xtype" : "ListStore",
+           "* pack" : "set_model",
            "$ columns" : "typeof(string),typeof(string)",
            "n_columns" : 2,
            "$ xns" : "Gtk",
     },
     {
      "label" : "OK",
-     "xtype" : "Button",
      "* pack" : "add_action_widget,1",
+     "xtype" : "Button",
      "$ xns" : "Gtk"
     },
     {
      "label" : "Cancel",
-     "* pack" : "add_action_widget,0",
      "xtype" : "Button",
+     "* pack" : "add_action_widget,0",
      "$ xns" : "Gtk"
     }
    ]
index ee58e5e..af62627 100644 (file)
@@ -47,7 +47,7 @@ public class EditProject : Object
 
         //listeners
         this.el.destroy_event.connect( (self, event) => {
-          this.el.response(0);
+               this.el.response(0);
         //     this.el.hide();
             return false;
         });