set ARDOUR_SURFACES_PATH for a bundle, just like ARDOUR_PANNER_PATH
[ardour.git] / gtk2_ardour / time_fx_dialog.cc
index d1650430b24b6a7dd39071601e44e23c070098f7..f166768834517130f2f5ab549ac78ab59c03f706 100644 (file)
@@ -145,7 +145,7 @@ TimeFXDialog::TimeFXDialog (Editor& e, bool pitch)
 
                set_popdown_strings (stretch_opts_selector, editor.rb_opt_strings);
                /* set default */
-               stretch_opts_selector.set_active_text (editor.rb_opt_strings[4]);
+               stretch_opts_selector.set_active_text (editor.rb_opt_strings[editor.rb_current_opt]);
                table->attach (stretch_opts_selector, 2, 3, 0, 1, Gtk::FILL, Gtk::EXPAND & Gtk::FILL, 0, 0);
 
                table->attach (precise_button, 1, 3, 1, 2, Gtk::FILL, Gtk::EXPAND, 0, 0);
@@ -170,8 +170,6 @@ TimeFXDialog::TimeFXDialog (Editor& e, bool pitch)
        l = manage (new Label (_("<b>Progress</b>"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
        l->set_use_markup ();
 
-       progress_bar.set_name (N_("TimeFXProgress"));
-
        progress_box->pack_start (*l, false, false);
        progress_box->pack_start (progress_bar, false, true);