src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Sat, 28 Feb 2015 10:05:00 +0000 (18:05 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 28 Feb 2015 10:05:00 +0000 (18:05 +0800)
src/Builder4/WindowState.vala

index b824e21..95b53c4 100644 (file)
@@ -201,10 +201,10 @@ public class WindowState : Object
     
         this.left_props.changed.connect(() => {
               if (this.left_tree.getActiveFile().xtype == "Roo" ) {
-                   this.win.window_rooview.requestRedraw();
+                   this.window_rooview.requestRedraw();
                    
                } else {
-                  this.win.window_gladeview.loadFile(this.left_tree.getActiveFile());
+                  this.window_gladeview.loadFile(this.left_tree.getActiveFile());
               }
               this.left_tree.model.updateSelected();
               this.left_tree.model.file.save();
@@ -358,6 +358,11 @@ public class WindowState : Object
         this.clutterfiles.open.connect((file) => { 
             this.fileViewOpen(file);
         });
+        this.clutterfiles.el.transitions_completed.connect(() => {
+            if (this.state == State.FILES) {
+                this.pre
+            
+        }))
 
     }
     public void fileNewInit()