X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fsfdb_ui.cc;h=fcd8510d925d3cf04174183c5c8758dc8b220549;hb=63a4cc9cf6e02153a6c647867abfec6b013e0708;hp=61905e209b2376412fb78ea2fe6a65e836852465;hpb=30b087ab3d28f1585987fa3f6ae006562ae192e3;p=ardour.git diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc index 61905e209b..fcd8510d92 100644 --- a/gtk2_ardour/sfdb_ui.cc +++ b/gtk2_ardour/sfdb_ui.cc @@ -21,8 +21,6 @@ #include "gtk2ardour-config.h" #endif -#include "pbd/i18n.h" - #include #include #include @@ -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 (_("Sound File Information")); - 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);