Builder/LeftPanel.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 13 May 2010 09:43:49 +0000 (17:43 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 13 May 2010 09:43:49 +0000 (17:43 +0800)
Builder/LeftPanel.js

index b410ec9..44bd987 100755 (executable)
@@ -190,7 +190,8 @@ LeftPanel = new XObject({
                             this.changed(data, true); 
                             LeftPanel.get('view').selection.select_path(new Gtk.TreePath.from_string(map[k]));
                             //this.editSelected( true )
-                            LeftPanel.get('view').el.set_cursor(new Gtk.TreePath.from_string(map[k]), 
+                            LeftPanel.get('view').el.set_cursor(
+                                new Gtk.TreePath.from_string(map[k]), 
                                 LeftPanel.editableCell, true);
                             
                             
@@ -413,7 +414,7 @@ LeftPanel = new XObject({
                         {
                             XObject.prototype.init.call(this); 
                             this.el.add_attribute(this.items[0].el , 'text', 3 );
-                            LeftPanel.editableCell = this.items[0].el;
+                            LeftPanel.editableCell = this.el;
                         },
                         items : [