Include pbd/crossthread.cc in the mingw build
[ardour.git] / gtk2_ardour / engine_dialog.cc
index 9f95ecce08a8c59f3b56d10511d65ce6fb880486..f3dba387abbb5109e035decff1738eaf17bc5841 100644 (file)
@@ -373,7 +373,10 @@ EngineControl::build_notebook ()
                basic_vbox.pack_start (*hpacker);
        }
 
-       basic_vbox.show_all ();
+       {
+               PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1);
+               basic_vbox.show_all ();
+       }
 }
 
 void
@@ -555,10 +558,10 @@ EngineControl::enable_latency_tab ()
        lm_back_button_signal.disconnect();
        if (_measure_midi) {
                lm_back_button_signal = lm_back_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (notebook, &Gtk::Notebook::set_current_page), midi_tab));
-               lm_preamble.set_markup (_(""));
+               lm_preamble.hide ();
        } else {
                lm_back_button_signal = lm_back_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (notebook, &Gtk::Notebook::set_current_page), 0));
-               lm_preamble.set_markup (_("<span weight=\"bold\">Turn down the volume on your audio equipment to a very low level.</span>"));
+               lm_preamble.show ();
        }
 
        set_popdown_strings (lm_output_channel_combo, outputs);
@@ -826,6 +829,11 @@ EngineControl::list_devices ()
 
                device_changed ();
 
+               input_latency.set_sensitive (true);
+               output_latency.set_sensitive (true);
+               input_channels.set_sensitive (true);
+               output_channels.set_sensitive (true);
+
                ok_button->set_sensitive (true);
                apply_button->set_sensitive (true);