Revert "File.js"
[app.Builder.js] / Builder3 / Window.js
index a4279c2..c72c8cf 100644 (file)
@@ -331,11 +331,10 @@ Window=new XObject({
                                             id : "LeftTopPanel",
                                             items : [
                                                 {
-                                                    //xtype: Gtk.Expander,
-                                                    xtype: Gtk.Button,                                                    
-                                                                                                       //events : [
-                                                                                                       //      Gdk.EventMask.BUTTON_MOTION_MASK 
-                                                                                                       //],
+                                                    xtype: Gtk.Expander,
+                                                                                                       events : [
+                                                                                                               Gdk.EventMask.BUTTON_MOTION_MASK 
+                                                                                                       ],
                                                                                                         
                                                     listeners : {
                                                         activate : function (self) {
@@ -355,17 +354,9 @@ Window=new XObject({
                                                             }
                                                             return true;
                                                                  
-                                                        },
-                                                        clicked : function(self) {
-                                                            print("Click");
-                                                            
-                                                        },
-                                                        pressed : function(self) {
-                                                            print("Pressed");
-                                                            
-                                                        },
+                                                        } /*,
                                                         enter_notify_event : function (self, event) {
-                                                            return false;
+                                                            return true;
                                                              this.el.expanded = !this.el.expanded;
                                                         //if (this.el.expanded ) {
                                                             this.listeners.activate.call(this);
@@ -373,6 +364,7 @@ Window=new XObject({
                                                         
                                                         return true;
                                                         }
+                                                        */
                                                     },
                                                     id : "expander",
                                                     label : "Select Project or File",
@@ -615,7 +607,7 @@ Window=new XObject({
                                                                                 Gdk.drag_status(ctx, 0, time);
                                                                                 return true;
                                                                             }
-                                                                              print(JSON.stringify(tg,null,4));
+                                                                            //  print(JSON.stringify(tg,null,4));
                                                                             //console.dump(tg);
                                                                             this.targetData = tg;    
                                                                             
@@ -1252,7 +1244,7 @@ Window=new XObject({
                                                                                 s.get_selected( oret);
                                                                                 var node = this.nodeToJS(oret.iter,false);
                                                                                     //console.dump(node);
-                                                                                print(JSON.stringify(node, null,4)); 
+                                                                                //print(JSON.stringify(node, null,4)); 
                                                                                     
                                                                                     // needs to drop first, otherwise the target_data 
                                                                                         // treepath will be invalid.
@@ -2193,7 +2185,7 @@ Window=new XObject({
                                                                     
                                                                         this.el.set_value(ret.iter, 5, type + ' : ' + str);
                                                                         // update the tree...  
-                                                                        print("new data: "  + JSON.stringify(this.toJS() , null,4));
+                                                                        //print("new data: "  + JSON.stringify(this.toJS() , null,4));
                                                                         this.get('/LeftTree.model').setFromNode(false,this.toJS());
                                                                         this.get('/LeftTree.model').changed(doRefresh); 
                                                                                  
@@ -4030,7 +4022,7 @@ Window=new XObject({
                                         this.get('buttonbar').el.hide();
                                         this.get('viewbox').el.show();
                                         var ce = this.get('/Window.centereast').el;
-                                        print(JSON.stringify(XObject.keys(ce) ,null,4));
+                                        //print(JSON.stringify(XObject.keys(ce) ,null,4));
                                         ce.set_position(ce.get_allocated_width() - 150);
                                            
                                        // this.get('model').expanded();