Builder3/Window.js
[app.Builder.js] / Builder / DialogConfirm.js
index 0960e7a..c346270 100644 (file)
@@ -7,6 +7,7 @@ GObject = imports.gi.GObject;
 GtkSource = imports.gi.GtkSource;
 WebKit = imports.gi.WebKit;
 Vte = imports.gi.Vte;
+GtkClutter = imports.gi.GtkClutter;
 console = imports.console;
 XObject = imports.XObject.XObject;
 DialogConfirm=new XObject({
@@ -27,7 +28,7 @@ DialogConfirm=new XObject({
     text : "-",
     modal : true,
     listeners : {
-        "response":function (self, response_id) {
+        response : function (self, response_id) {
            this.el.hide();
         print("RESPOSE: " + response_id);
             if (response_id == -8) { //yes!
@@ -35,7 +36,7 @@ DialogConfirm=new XObject({
               this.success();
             }
         },
-        "delete_event":function (self, event) {
+        delete_event : function (self, event) {
             this.el.hide();
             return true;
         }