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:
c46d414
)
XObjectBase/GtkListStore.js
author
Alan Knowles
<alan@akkbhome.com>
Wed, 1 Dec 2010 13:22:25 +0000
(21:22 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Wed, 1 Dec 2010 13:22:25 +0000
(21:22 +0800)
XObjectBase/GtkListStore.js
patch
|
blob
|
history
diff --git
a/XObjectBase/GtkListStore.js
b/XObjectBase/GtkListStore.js
index
a719a94
..
8706cd6
100644
(file)
--- a/
XObjectBase/GtkListStore.js
+++ b/
XObjectBase/GtkListStore.js
@@
-12,17
+12,20
@@
GtkListStore = XObject.define(
function(cfg) {
XObject.call(this, cfg);
// this is an example...
function(cfg) {
XObject.call(this, cfg);
// this is an example...
- this.el.set_column_types ( 6, [
- GObject.TYPE_STRING,
- GObject.TYPE_STRING,
- GObject.TYPE_STRING,
- GObject.TYPE_STRING,
- GObject.TYPE_STRING,
- GObject.TYPE_STRING
- ] );
+
},
XObject,
{
},
XObject,
{
- pack : 'set_model'
+ pack : 'set_model',
+ init : function() {
+ this.el.set_column_types ( 6, [
+ GObject.TYPE_STRING,
+ GObject.TYPE_STRING,
+ GObject.TYPE_STRING,
+ GObject.TYPE_STRING,
+ GObject.TYPE_STRING,
+ GObject.TYPE_STRING
+ ] );
+ }
}
);
}
);