src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 06:29:03 +0000 (14:29 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 06:29:03 +0000 (14:29 +0800)
src/Builder4/WindowState.vala

index a4e976e..a4f20c4 100644 (file)
@@ -693,7 +693,7 @@ public class WindowState : Object
                   
                   
                        case State.CODE:
-                               this.win.codeeditview.show();
+                               this.win.codeeditview.el.show();
                                this.code_editor.el.show_all();
                                // caller needs to call editor - show....
                                this.win.codeeditview.el.set_scale(1.0f,1.0f);
@@ -702,10 +702,10 @@ public class WindowState : Object
                        case State.CODEONLY:
                                // going to codeonly..
                                this.win.leftpane.el.hide();
-                               this.win.codeeditview.show();
-                               while (Gtk.events_pending()) { 
-                                       Gtk.main_iteration();
-                               }
+                               this.win.codeeditview.el.show();
+                               //while (Gtk.events_pending()) { 
+                               //      Gtk.main_iteration();
+                               //}
                                
                                
                                this.code_editor.el.show_all();