this.el.hide();
return true;
},
- response : (self, response_id) => {
+ response : (self, response_id) => {
if (response_id < 1) { // cancel!
this.el.hide();
// what about .js ?
- if (GLib.FileUtil.test(_this.file.name + ".bjs", GLib.FileTest.EXISTS)) {
+ if (GLib.FileUtils.test(_this.file.name + ".bjs", GLib.FileTest.EXISTS)) {
StandardErrorDialog.show(
"That file already exists"
);
{
this.project = c.project;
- if (!this.el) {
+ //if (!this.el) {
//this.init();
- }
+ //}
- this.def = {
- name : '' ,
- title : '' ,
- region : '' ,
- parent: '',
- // disable: '',
- modOrder : '0',
- permname : ''
- };
_this.name.el.set_text(c.name);
_this.title.el.set_text(c.title);
_this.parent.el.set_text(c.parent);