Preference Dropdown to limit Automatable Parameters
[ardour.git] / gtk2_ardour / sfdb_ui.cc
index 61905e209b2376412fb78ea2fe6a65e836852465..fcd8510d925d3cf04174183c5c8758dc8b220549 100644 (file)
@@ -21,8 +21,6 @@
 #include "gtk2ardour-config.h"
 #endif
 
-#include "pbd/i18n.h"
-
 #include <map>
 #include <cerrno>
 #include <sstream>
@@ -73,6 +71,8 @@
 
 #include "sfdb_freesound_mootcher.h"
 
+#include "pbd/i18n.h"
+
 using namespace ARDOUR;
 using namespace PBD;
 using namespace std;
@@ -153,10 +153,10 @@ SoundFileBox::SoundFileBox (bool /*persistent*/)
 
        preview_label.set_markup (_("<b>Sound File Information</b>"));
 
-       border_sample.set_label_widget (preview_label);
-       border_sample.add (main_box);
+       border_frame.set_label_widget (preview_label);
+       border_frame.add (main_box);
 
-       pack_start (border_sample, true, true);
+       pack_start (border_frame, true, true);
        set_border_width (6);
 
        main_box.set_border_width (6);
@@ -199,7 +199,7 @@ SoundFileBox::SoundFileBox (bool /*persistent*/)
        table.attach (timecode_clock, 1, 2, 5, 6, FILL, FILL);
        table.attach (tempomap_value, 1, 2, 6, 7, FILL, FILL);
 
-       length_clock.set_mode (ARDOUR_UI::instance()->secondary_clock->mode());
+       length_clock.set_mode (ARDOUR_UI::instance()->primary_clock->mode());
        timecode_clock.set_mode (AudioClock::Timecode);
 
        main_box.pack_start (table, false, false);