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

Builder4/About.bjs
Builder4/About.js

index 932d82c..b109ac4 100644 (file)
@@ -7,7 +7,7 @@
     "items": [
         {
             "listeners": {
-                "response": "function (self, response_id) {\n    this.el.hide();\n}\n/*--\n(rid) => {\n    this.el.hide();\n}\n*/\n",
+                "response": "\n(rid) => {\n    this.el.hide();\n}\n\n",
                 "delete_event": "function (self, event) {\n    this.el.hide();\n    return true;\n}\n\n/*--\n (self, event) => {\n    this.el.hide();\n    return true;\n}\n*/"
             },
             "authors": "Alan Knowles",
index 105b969..194d07f 100644 (file)
@@ -12,14 +12,9 @@ XObject = imports.XObject.XObject;
 About=new XObject({
     xtype: Gtk.AboutDialog,
     listeners : {
-        response : function (self, response_id) {
+        response : (rid) => {
             this.el.hide();
-        }
-        /*--
-        (rid) => {
-            this.el.hide();
-        }
-        */,
+        },
         delete_event : function (self, event) {
             this.el.hide();
             return true;