add some flush_pending timeouts

This commit is contained in:
Robin Gareus 2016-07-25 14:51:23 +02:00
parent 3953879d4d
commit ac8f4baa00
3 changed files with 4 additions and 4 deletions

View file

@ -3509,7 +3509,7 @@ ARDOUR_UI::load_session (const std::string& path, const std::string& snap_name,
{ {
Timers::TimerSuspender t; Timers::TimerSuspender t;
flush_pending (); flush_pending (10);
} }
#ifdef WINDOWS_VST_SUPPORT #ifdef WINDOWS_VST_SUPPORT

View file

@ -5049,7 +5049,7 @@ Editor::first_idle ()
true true
); );
dialog->present (); dialog->present ();
ARDOUR_UI::instance()->flush_pending (); ARDOUR_UI::instance()->flush_pending (60);
} }
for (TrackViewList::iterator t = track_views.begin(); t != track_views.end(); ++t) { for (TrackViewList::iterator t = track_views.begin(); t != track_views.end(); ++t) {

View file

@ -7909,7 +7909,7 @@ Editor::update_bring_in_message (Gtk::Label* label, uint32_t n, uint32_t total,
{ {
Timers::TimerSuspender t; Timers::TimerSuspender t;
label->set_text (string_compose ("Copying %1, %2 of %3", name, n, total)); label->set_text (string_compose ("Copying %1, %2 of %3", name, n, total));
Gtkmm2ext::UI::instance()->flush_pending (); Gtkmm2ext::UI::instance()->flush_pending (1);
} }
void void
@ -7929,7 +7929,7 @@ Editor::bring_all_sources_into_session ()
*/ */
Timers::TimerSuspender t; Timers::TimerSuspender t;
Gtkmm2ext::UI::instance()->flush_pending (); Gtkmm2ext::UI::instance()->flush_pending (3);
cerr << " Do it\n"; cerr << " Do it\n";