projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ef12db
)
XObjectBase/GtkTreeStore.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 3 Jul 2012 15:23:49 +0000
(23:23 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 3 Jul 2012 15:23:49 +0000
(23:23 +0800)
XObjectBase/GtkTreeStore.js
patch
|
blob
|
history
diff --git
a/XObjectBase/GtkTreeStore.js
b/XObjectBase/GtkTreeStore.js
index
53b4397
..
8f51f47
100644
(file)
--- a/
XObjectBase/GtkTreeStore.js
+++ b/
XObjectBase/GtkTreeStore.js
@@
-4,14
+4,13
@@
XObject = imports.XObject.XObject
GObject = imports.gi.GObject;
-//GtkClutter.Embed..
-// children are not added at init / but at show stage..
-// listener is added on show..
-// we should really add a hock to destroy it..
+
GtkTreeStore = XObject.define(
function(cfg) {
+ this.columns = cfg.columns = cfg.columns || false;
+ delete cfg.columns;
XObject.call(this, cfg);
- // this is an example...
+
},
XObject,