},
edited : function (self, object, p0) {
+
+ print("CHANGED VALUE:" + JSON.stringify(p0, null,4));
+ return;
var model = this.get('/LeftPanel.model');
var path = model.activePath;
var iret = {};
xtype: Gtk.CellRendererCombo,
listeners : {
edited : function (self, object, p0) {
+
this.get('/LeftPanel').editing = false;
var ap = this.get('/LeftPanel.model').activePath
print("EDITED? " + ap + " - p:" + p0 + " t:" + p0);
- this.get('/LeftTree.model').setFromNode(false,p0);
- this.get('/LeftTree.model').changed(true);
+ this.get('/LeftPanel.model').changed(p0, true);
this.get('/LeftPanel.model').activePath = false;
this.el.editable = false;
},
]
},
{
- xtype: Gtk.HBox,
+ xtype: Gtk.HPaned,
pack : "add",
+ id : 'centereast',
+ position : 500,
+
items : [
{
xtype: Gtk.VPaned,
},
{
xtype: Gtk.VBox,
- pack : "pack_start,false,false",
+ pack : "add",
id : "RightPalete",
hide : function() {
this.get('buttonbar').el.show();
this.get('viewbox').el.hide();
- print("TRIED TO HIDE");
+ var ce = this.get('/Window.centereast').el;
+
+ ce.set_position(ce.get_allocated_width() - 30);
+
+ print("TRIED TO HIDE");
},
show : function() {
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));
+ ce.set_position(ce.get_allocated_width() - 100);
+
// this.get('model').expanded();
},