InsertTimeDialog::InsertTimeDialog (PublicEditor& e)
: ArdourDialog (_("Insert Time"))
, _editor (e)
- , _clock ("insertTimeClock", true, X_("InsertTimeClock"), true, false, true, true)
+ , _clock ("insertTimeClock", true, "", true, false, true, false)
{
set_session (_editor.session ());
get_vbox()->pack_start (*table);
+ _all_playlists.set_label (_("Insert time on all the track's playlists"));
+ get_vbox()->pack_start (_all_playlists);
+
_move_glued.set_label (_("Move glued regions"));
get_vbox()->pack_start (_move_glued);
_move_markers.set_label (_("Move markers"));
indent->set_padding (0, 0, 12, 0);
indent->add (_move_locked_markers);
get_vbox()->pack_start (*indent);
- _move_tempos.set_label (_("Move tempo and meter changes"));
- get_vbox()->pack_start (_move_tempos);
+ tempo_label.set_markup (_("Move tempo and meter changes\n<i>(may cause oddities in the tempo map)</i>"));
+ HBox* tempo_box = manage (new HBox);
+ tempo_box->set_spacing (6);
+ tempo_box->pack_start (_move_tempos, false, false);
+ tempo_box->pack_start (tempo_label, false, false);
+ get_vbox()->pack_start (*tempo_box);
add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
add_button (_("Insert time"), Gtk::RESPONSE_OK);
return opt;
}
+bool
+InsertTimeDialog::all_playlists () const
+{
+ return _all_playlists.get_active ();
+}
+
bool
InsertTimeDialog::move_glued () const
{