Builder/EditProject.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 04:58:39 +0000 (12:58 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 04:58:39 +0000 (12:58 +0800)
Builder/EditProject.js

index 89b029e..0b45e1a 100755 (executable)
@@ -46,7 +46,7 @@ EditProject = new XObject({
             
             [ 'xtype' , 'name' ].forEach(function(k) {
                 this.get(k).setValue(typeof(c[k]) == 'undefined' ? '' : c[k]);
-            }
+            });
             if (!this.el) {
                 this.init();
             }
@@ -134,7 +134,7 @@ EditProject = new XObject({
                         
                     },
                     {
-                        xtype : Gtk.HBox',
+                        xtype : Gtk.HBox,
                         pack : [ 'pack_start', false, true , 0 ],
                         items : [
                             {
@@ -149,7 +149,7 @@ EditProject = new XObject({
                                 init : function() {
                                     XObject.prototype.init.call(this); 
                                     this.el.add_attribute(this.items[0].el , 'markup', 1 );  
-                                }
+                                },
                                 setValue : function(v)
                                 {
                                     var el = this.el;
@@ -183,12 +183,12 @@ EditProject = new XObject({
                                 items : [
                                     {
                                         xtype : Gtk.CellRendererText,
-                                        pack : ['pack_start'],
+                                        pack : ['pack_start']
                                     },
                                     {
                                         id : 'model',
                                         pack : [ 'set_model' ],
-                                        xtype : Gtk.ListStore',
+                                        xtype : Gtk.ListStore,
                                         init : function ()
                                         {
                                             XObject.prototype.init.call(this);