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:
cd85e0b
)
Builder/LeftPanel.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 17 May 2010 04:59:00 +0000
(12:59 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 17 May 2010 04:59:00 +0000
(12:59 +0800)
Builder/LeftPanel.js
patch
|
blob
|
history
diff --git
a/Builder/LeftPanel.js
b/Builder/LeftPanel.js
index
46903ea
..
bad7a49
100755
(executable)
--- a/
Builder/LeftPanel.js
+++ b/
Builder/LeftPanel.js
@@
-280,12
+280,15
@@
LeftPanel = new XObject({
},
/**
* start editing path (or selected if not set..)
+ * @param {String|false} path (optional) treepath to edit - selected tree gets
+ * edited by default.
+ * @param {Number} 0 or 1 (optional)- column to edit.
*/
startEditing : function(path, col)
{
var tp;
- if (
path
) {
+ if (
typeof(path) == 'string'
) {
tp = new Gtk.TreePath.from_string(path);
} else {
var iter = new Gtk.TreeIter();