val = node.props.get(key);
}
this.view.load(val);
-
+ this.key_edit.el.show();
+ this.key_edit.el.text = key;
} else {
this.view.load( file.toSource() );
-
+ this.key_edit.el.hide();
}
- this.key_edit.el.text = key;
+
}
public class Xcls_Box2 : Object
// this.get('/BottomPane').el.set_current_page(0);
- var buf = (Gtk.SourceBuffer)this.el.get_buffer();
+ var buf = (Gtk.SourceBuffer)this.el.get_buffer();
buf.set_text(str, str.length);
buf.set_undo_manager(null);
// assume it's gtk...
this.check_running = true;
- _this.window.windowstate.valasource.checkPlainFileSpawn(
+ if (!_this.window.windowstate.valasource.checkPlainFileSpawn(
_this.file,
str
- );
+ )) {
+ this.check_running = false;
+ }
+
return true;
}
// clear the buttons.
- p.validateVala(
- _this.window.windowstate,
- str,
- _this.key,
- _this.ptype,
+ if (! _this.window.windowstate.valasource.checkFileWithNodePropChange(
_this.file,
- _this.node
-
-
- );
+ _this.node,
+ _this.key,
+ _this.ptype,
+ str
+ )) {
+ this.check_running = false;
+ }