}
return true;
- },
+ } /*,
enter_notify_event : function (self, event) {
return true;
this.el.expanded = !this.el.expanded;
return true;
}
+ */
},
id : "expander",
label : "Select Project or File",
var model = this.get('/LeftProjectTree.combomodel');
// print ("loading Projects?")
+ //print(JSON.stringify(pm.projects, null,4));Seed.quit();
//console.dump(pm.projects);
model.loadData(pm.projects);
Gdk.drag_status(ctx, 0, time);
return true;
}
- print(JSON.stringify(tg,null,4));
+ // print(JSON.stringify(tg,null,4));
//console.dump(tg);
this.targetData = tg;
s.get_selected( oret);
var node = this.nodeToJS(oret.iter,false);
//console.dump(node);
- print(JSON.stringify(node, null,4));
+ //print(JSON.stringify(node, null,4));
// needs to drop first, otherwise the target_data
// treepath will be invalid.
loadData : function(data) {
//print("load data called");Seed.quit();
+ //print(data);Seed.quit();
- var ov = this.get('/LeftProjectTree.combo').getValue();
+ var ov = this.get('/LeftProjectTree.combo').getValue();
this.el.clear();
var el = this.el;
var na = {};
- data.forEach(function(p) {
+
+
+ data.forEach(function(p) {
el.append(na);
//print(JSON.stringify(XObject.keys(na)));
this.el.set_value(ret.iter, 5, type + ' : ' + str);
// update the tree...
- print("new data: " + JSON.stringify(this.toJS() , null,4));
+ //print("new data: " + JSON.stringify(this.toJS() , null,4));
this.get('/LeftTree.model').setFromNode(false,this.toJS());
this.get('/LeftTree.model').changed(doRefresh);
this.get('buttonbar').el.hide();
this.get('viewbox').el.show();
var ce = this.get('/Window.centereast').el;
- print(JSON.stringify(XObject.keys(ce) ,null,4));
+ //print(JSON.stringify(XObject.keys(ce) ,null,4));
ce.set_position(ce.get_allocated_width() - 150);
// this.get('model').expanded();