Fix out-of-whack notebook tabs wrt their contents in certain port matrices, broken...
[ardour.git] / gtk2_ardour / interthread_progress_window.cc
index 7de3fd2b4d3217c430907444b23ba0f54bd9a4e1..e81ea26872d223971ad4d257d7e53af5f7710d20 100644 (file)
@@ -49,6 +49,7 @@ InterthreadProgressWindow::InterthreadProgressWindow (ARDOUR::InterThreadInfo* i
 
        set_default_size (200, 100);
        show_all ();
+        hide ();
 
        Glib::signal_timeout().connect (sigc::mem_fun (*this, &InterthreadProgressWindow::update), 100);
 }
@@ -98,8 +99,8 @@ ImportProgressWindow::update ()
        if (c > _import_status->total) {
                c = _import_status->total;
        }
-       
+
        _bar.set_text (string_compose (_("Importing file: %1 of %2"), c, _import_status->total));
-       
-       return !(_import_status->done || _import_status->cancel);
+
+       return !(_import_status->all_done || _import_status->cancel);
 }