Builder4/DialogNewComponent.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 10 Jun 2014 10:51:27 +0000 (18:51 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Jun 2014 10:51:27 +0000 (18:51 +0800)
Builder4/DialogNewComponent.js
Builder4/DialogNewComponent.vala

Builder4/DialogNewComponent.vala

index af3ab9f..16914bc 100644 (file)
@@ -57,10 +57,12 @@ public class Xcls_DialogNewComponent
         this.el.delete_event.connect( (self, event) => {
             this.el.hide();
             return true;
-        } );
+        }
+        
+         );
         this.el.response.connect(   (self, response_id) =>  {
           
-               if (response_id < 1) => { // cancel!
+               if (response_id < 1) { // cancel!
                     this.el.hide();
                     return;
                 }
@@ -124,7 +126,7 @@ public class Xcls_DialogNewComponent
                     DialogNewComponent.success(_this.project, nf);
                 }
         } );
-        this.el.show.connect(  (self) => {
+        this.el.show.connect( function (self) {
           this.el.show_all();
         } );
     }