X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=blobdiff_plain;f=src%2FBuilder4%2FWindowLeftTree.bjs;h=984a571b4ce6b1da1924ec30a6b898347c7aaf10;hp=f11c0aaab6fe2d3f589a65e265ab4860c73b3ea3;hb=5609a7d7836e83041be38ac08d116e89833745ab;hpb=847b846b5b1729fd2aaa36ff9c56c1e341d63656 diff --git a/src/Builder4/WindowLeftTree.bjs b/src/Builder4/WindowLeftTree.bjs index f11c0aaab..984a571b4 100644 --- a/src/Builder4/WindowLeftTree.bjs +++ b/src/Builder4/WindowLeftTree.bjs @@ -51,7 +51,7 @@ "# bool drag_in_motion" : "", "# bool blockChanges" : false, "$ xns" : "Gtk", - "| void setCursor" : "(string treepath, string sourceEvent) => {\n\tthis.lastEventSource = sourceEvent;\n this.el.set_cursor(new Gtk.TreePath.from_string(treepath), null, false); \n \n}\n", + "| void setCursor" : "(string treepath, string sourceEvent) {\n\tthis.lastEventSource = sourceEvent;\n this.el.set_cursor(new Gtk.TreePath.from_string(treepath), null, false); \n \n}\n", "| void selectNode" : "(string treepath_str, string source) {\n\tthis.lastEventSource = source;\n //this.selection.select_path(new Gtk.TreePath.from_string( treepath_str));\n var tp = new Gtk.TreePath.from_string(treepath_str);\n \n this.el.set_cursor(tp, null, false); \n this.el.scroll_to_cell(tp, null, false, 0,0);\n}\n", "items" : [ {