Fix #8010 - problem with directory scan
[roobuilder] / src / Main.vala
index 82465d6..0efdc05 100644 (file)
@@ -15,7 +15,7 @@ int main (string[] args) {
          
     Gtk.init ();
     GtkSource.init();
+       Adw.init();
        
        // not sure why this was done?? - it caused crash bugs on gtk_Box_gadget so removed critical.
        // GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR | LogLevelFlags.LEVEL_CRITICAL); 
@@ -23,11 +23,11 @@ int main (string[] args) {
         
        app.activate.connect(() => {
                var w = new Xcls_MainWindow();
-
+        w.initChildren();
                BuilderApplication.addWindow(w);
                
                // it looks like showall after children causes segfault on ubuntu 14.4
-               w.initChildren();
+               w.windowstate.init();
        //      w.windowstate.showPopoverFiles(w.open_projects_btn.el, null, false);
                w.show();