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:
b9d2a4a
)
DependTree/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 2 Dec 2010 09:22:50 +0000
(17:22 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 2 Dec 2010 09:22:50 +0000
(17:22 +0800)
DependTree/Window.js
patch
|
blob
|
history
diff --git
a/DependTree/Window.js
b/DependTree/Window.js
index
ca6b4de
..
7dc347c
100644
(file)
--- a/
DependTree/Window.js
+++ b/
DependTree/Window.js
@@
-19,6
+19,11
@@
Window=new XObject({
var BuildLists = imports['BuildLists.js'].BuildLists;
this.data = new BuildLists();
print(JSON.stringify(this.data.allmethods, null,4));
+
+ var ls = this.get('method-list-store');
+ this.data.allmethods.forEach(function(v) {
+ ls.append( [ v ]);
+ });
}
},
default_height : 500,
@@
-82,7
+87,8
@@
Window=new XObject({
xtype: Gtk.TreeView,
items : [
{
- xtype: Gtk.ListStore
+ xtype: Gtk.ListStore,
+ id : "method-list-store"
},
{
xtype: Gtk.TreeViewColumn,