Builder/LeftPanel.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 14 May 2010 05:56:06 +0000 (13:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 14 May 2010 05:56:06 +0000 (13:56 +0800)
Builder/LeftPanel.js

index 259cb88..367043a 100755 (executable)
@@ -454,8 +454,17 @@ LeftPanel = new XObject({
                                 xtype : Gtk.CellRendererCombo,
                                 pack : ['pack_start'],
                                 editable : true,
-                                
-                                 
+                                has_entry : true,
+                                init : function() {
+                                    XObject.prototype.init.call(this); 
+                                    this.el.model = new Gtk.ListStore();
+                                    this.el.model.set_column_types ( 1, [
+                                        GObject.TYPE_STRING,  // 0 real key
+                                        
+                                    ]);
+                                    
+                                    
+                                }
                                 listeners : {
  
                                     edited : function(r,p, t) {
@@ -469,6 +478,7 @@ LeftPanel = new XObject({
                                     }    
                                 },
                                 
+                                
                             }
                         ]
                     }