Sample/Window.bjs
[app.Builder.js] / Sample / About.js
index a156dd7..4fc46b1 100644 (file)
@@ -7,14 +7,26 @@ GObject = imports.gi.GObject;
 GtkSource = imports.gi.GtkSource;
 WebKit = imports.gi.WebKit;
 Vte = imports.gi.Vte;
+GtkClutter = imports.gi.GtkClutter;
+Gdl = imports.gi.Gdl;
 console = imports.console;
 XObject = imports.XObject.XObject;
 About=new XObject({
     xtype: Gtk.AboutDialog,
+    listeners : {
+        response : function (self, response_id) {
+            this.el.hide();
+        },
+        delete_event : function (self, event) {
+            this.el.hide();
+            return true;
+        }
+    },
     authors : "Alan Knowles",
     copyright : "LGPL",
     license : "LGPL",
     program_name : "app.Builder.js",
+    website : "http://www.akbkhome.com/blog.php",
     modal : true
 });
 About.init();