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

index d38127f..571cbe8 100644 (file)
@@ -697,6 +697,10 @@ public class WindowState : Object
                        case State.CODEONLY:
                                // going to codeonly..
                                this.win.codeeditview.el.show();
+                               while (Gtk.events_pending()) { 
+                                       Gtk.main_iteration();
+                               }
+                               
                                this.win.leftpane.el.hide();
                                this.win.codeeditview.el.show();
                                //while (Gtk.events_pending()) {