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:
c695c22
)
XObjectBase/GtkListStore.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 2 Dec 2010 10:56:03 +0000
(18:56 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 2 Dec 2010 10:56:03 +0000
(18:56 +0800)
XObjectBase/GtkListStore.js
patch
|
blob
|
history
diff --git
a/XObjectBase/GtkListStore.js
b/XObjectBase/GtkListStore.js
index
548089c
..
4d53b40
100644
(file)
--- a/
XObjectBase/GtkListStore.js
+++ b/
XObjectBase/GtkListStore.js
@@
-42,6
+42,7
@@
GtkListStore = XObject.define(
},
getValue : function ( path, col)
{
+ // not very type safe...
var iter = new Gtk.TreeIter();
this.el.get_iter (iter, path) ;
var gval = new GObject.Value('');
@@
-50,7
+51,9
@@
GtkListStore = XObject.define(
},
setValue : function ( path, col, val)
{
- //this.el.set_value(iter,i,values[i]);
+ var iter = new Gtk.TreeIter();
+ this.el.get_iter (iter, path) ;
+ this.el.set_value(iter,i,values[i]);
}