Update codec-quality display when ExportFormat changes
[ardour.git] / gtk2_ardour / io_selector.cc
index 31f8cfa1cb70d251bbfffda7685addc04c734f0d..99050cc34ba0a5a75c728d2cf1da11cdd6004b1c 100644 (file)
 #include "io_selector.h"
 #include "utils.h"
 #include "gui_thread.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace ARDOUR;
+using namespace ARDOUR_UI_UTILS;
 using namespace Gtk;
 
 IOSelector::IOSelector (Gtk::Window* p, ARDOUR::Session* session, boost::shared_ptr<ARDOUR::IO> io)
@@ -140,15 +141,15 @@ IOSelector::set_state (ARDOUR::BundleChannel c[2], bool s)
                                return;
                        }
 
-                        if (s) {
+                       if (s) {
                                if (!f->connected_to (*j)) {
                                        _io->connect (f, *j, 0);
                                }
-                        } else {
+                       } else {
                                if (f->connected_to (*j)) {
                                        _io->disconnect (f, *j, 0);
                                }
-                        }
+                       }
                }
        }
 }
@@ -258,7 +259,7 @@ void
 IOSelectorWindow::io_name_changed (void*)
 {
        ENSURE_GUI_THREAD (*this, &IOSelectorWindow::io_name_changed, src)
-               
+
        std::string title;
 
        if (!_selector.find_inputs_for_io_outputs()) {