projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test.GtkWriter.vala.c
[app.Builder.js]
/
Builder4
/
DialogNewComponent.js
diff --git
a/Builder4/DialogNewComponent.js
b/Builder4/DialogNewComponent.js
index
6414aba
..
c6a99db
100644
(file)
--- a/
Builder4/DialogNewComponent.js
+++ b/
Builder4/DialogNewComponent.js
@@
-16,7
+16,7
@@
DialogNewComponent=new XObject({
this.el.hide();
return true;
},
this.el.hide();
return true;
},
- response : (self, response_id) => {
+ response : (self, response_id) => {
if (response_id < 1) { // cancel!
this.el.hide();
if (response_id < 1) { // cancel!
this.el.hide();
@@
-64,7
+64,7
@@
DialogNewComponent=new XObject({
// what about .js ?
// what about .js ?
- if (GLib.FileUtil.test(_this.file.name + ".bjs", GLib.FileTest.EXISTS)) {
+ if (GLib.FileUtil
s
.test(_this.file.name + ".bjs", GLib.FileTest.EXISTS)) {
StandardErrorDialog.show(
"That file already exists"
);
StandardErrorDialog.show(
"That file already exists"
);
@@
-103,19
+103,10
@@
DialogNewComponent=new XObject({
{
this.project = c.project;
{
this.project = c.project;
- if (!this.el) {
+
//
if (!this.el) {
//this.init();
//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);
_this.name.el.set_text(c.name);
_this.title.el.set_text(c.title);
_this.parent.el.set_text(c.parent);