Sample/Window.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 10 Jun 2010 04:40:31 +0000 (12:40 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 10 Jun 2010 04:40:31 +0000 (12:40 +0800)
Sample/Window.js

index dfae022..a173cb9 100644 (file)
@@ -162,9 +162,6 @@ Window=new XObject({
                                 {
                                     xtype: Gtk.Menu,
                                     pack : "set_submenu",
-                                    listeners : {
-                                        
-                                    },
                                     items : [
                                         {
                                             xtype: Gtk.MenuItem,
@@ -208,9 +205,6 @@ Window=new XObject({
                                 {
                                     xtype: Gtk.Menu,
                                     pack : "set_submenu",
-                                    listeners : {
-                                        
-                                    },
                                     items : [
                                         {
                                             xtype: Gtk.MenuItem,
@@ -299,17 +293,11 @@ Window=new XObject({
                             xtype: Gtk.MenuItem,
                             label : "_Help",
                             use_underline : true,
-                            listeners : {
-                                
-                            },
                             pack : "add",
                             items : [
                                 {
                                     xtype: Gtk.Menu,
                                     pack : "set_submenu",
-                                    listeners : {
-                                        
-                                    },
                                     items : [
                                         {
                                             xtype: Gtk.MenuItem,
@@ -1135,6 +1123,7 @@ Window=new XObject({
                                                                                             return;
                                                                                         }
                                                                                         print("LOAD");
+                                                                                        print(JSON.stringify(f.items, null,4));
                                                                                         //console.dump(f.items);
                                                                                         this.load(f.items);
                                                                                         this.get('/LeftTree.view').el.expand_all();
@@ -1667,9 +1656,6 @@ Window=new XObject({
                                         },
                                         {
                                             xtype: Gtk.VBox,
-                                            listeners : {
-                                                
-                                            },
                                             items : [
                                                 {
                                                     xtype: Gtk.HBox,
@@ -2727,9 +2713,6 @@ Window=new XObject({
                                                                     xtype: Gtk.VBox,
                                                                     pack : "add",
                                                                     id : "RightBrowser",
-                                                                    listeners : {
-                                                                        
-                                                                    },
                                                                     items : [
                                                                         {
                                                                             xtype: Gtk.ScrolledWindow,