Sample/Window.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 25 May 2010 10:47:09 +0000 (18:47 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 25 May 2010 10:47:09 +0000 (18:47 +0800)
Sample/Window.js

index 7f8955a..7dfd603 100644 (file)
@@ -2493,6 +2493,17 @@ Window=new XObject({
                                                                                                    "console.log(Builder.dump(Builder));");   
                                                                                         }
                                                                                     }
+                                                                                },
+                                                                                {
+                                                                                    xtype: Gtk.Button,
+                                                                                    pack : "add",
+                                                                                    label : "Edit Roo Project",
+                                                                                    listeners : {
+                                                                                        "button_press_event":function (self, event) {
+                                                                                            this.get('/RooProjectProperties').show();
+                                                                                            return false;
+                                                                                        }
+                                                                                    }
                                                                                 }
                                                                             ]
                                                                         },