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:
a846c6c
)
DependTree/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 8 Dec 2010 10:09:28 +0000
(18:09 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 8 Dec 2010 10:09:28 +0000
(18:09 +0800)
DependTree/Window.js
patch
|
blob
|
history
diff --git
a/DependTree/Window.js
b/DependTree/Window.js
index
129f9ed
..
5d82e2a
100644
(file)
--- a/
DependTree/Window.js
+++ b/
DependTree/Window.js
@@
-69,9
+69,12
@@
Window=new XObject({
xtype: Gtk.TreeView,
listeners : {
cursor_changed : function (self) {
- var sel = this.el.get_selection();
+ if (!this.selection) {
+ this.selection = this.el.get_selection();
+ }
+
var iter = new Gtk.TreeIter();
-
sel
.get_selected(this.model.el, iter);
+
this.selection
.get_selected(this.model.el, iter);
var tp = this.model.el.get_path(iter).to_string();
print(tp);