diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-25 14:51:23 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-25 14:51:23 +0200 |
commit | ac8f4baa002db37506a84088861b7a288dcdfae6 (patch) | |
tree | 970d5b68daa49f5c2358a866f775651d26e88727 | |
parent | 3953879d4d423e3d7f79b1913b4ff6fe502c6542 (diff) |
add some flush_pending timeouts
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/editor.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 4ce4a5b944..d6671205a7 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -3509,7 +3509,7 @@ ARDOUR_UI::load_session (const std::string& path, const std::string& snap_name, { Timers::TimerSuspender t; - flush_pending (); + flush_pending (10); } #ifdef WINDOWS_VST_SUPPORT diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 4edf3a5693..d869442b83 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -5049,7 +5049,7 @@ Editor::first_idle () true ); 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) { diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index c83e96d67f..5419ce9374 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -7909,7 +7909,7 @@ Editor::update_bring_in_message (Gtk::Label* label, uint32_t n, uint32_t total, { Timers::TimerSuspender t; 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 @@ -7929,7 +7929,7 @@ Editor::bring_all_sources_into_session () */ Timers::TimerSuspender t; - Gtkmm2ext::UI::instance()->flush_pending (); + Gtkmm2ext::UI::instance()->flush_pending (3); cerr << " Do it\n"; |