X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Finterthread_progress_window.cc;h=e81ea26872d223971ad4d257d7e53af5f7710d20;hb=cca8b8cda0d25459019bb10a59616fec108b825e;hp=7de3fd2b4d3217c430907444b23ba0f54bd9a4e1;hpb=3b594f8046f947613ea94612d1a00b664d41a6f7;p=ardour.git diff --git a/gtk2_ardour/interthread_progress_window.cc b/gtk2_ardour/interthread_progress_window.cc index 7de3fd2b4d..e81ea26872 100644 --- a/gtk2_ardour/interthread_progress_window.cc +++ b/gtk2_ardour/interthread_progress_window.cc @@ -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); }