src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Mar 2015 10:15:38 +0000 (18:15 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Mar 2015 10:15:38 +0000 (18:15 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala

index d1f8be2..bb42128 100644 (file)
@@ -43,8 +43,8 @@
       },
       {
        "id" : "key_edit",
-       "* pack" : "pack_end,true,true",
        "xtype" : "Entry",
+       "* pack" : "pack_end,true,true",
        "$ xns" : "Gtk"
       }
      ]
index 454d717..c3db329 100644 (file)
@@ -216,7 +216,8 @@ public class Editor : Object
 
             // init method 
 
-            this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);        }
+            this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
+        }
 
         // user defined functions 
     }
@@ -265,6 +266,7 @@ public class Editor : Object
                 });
                 
                 this.el.set_mark_attributes ("error", attrs, 1);
+
             // listeners 
             this.el.key_release_event.connect( (event) => {