Mackie protocol: set-session-from-edit-range moved to shift+marker
[ardour.git] / gtk2_ardour / insert_remove_time_dialog.cc
index 58345aed654f8cdf82593e9bdad259ba6b010186..851f57d1baab79614d84d1463122a7f719c1abae 100644 (file)
@@ -31,7 +31,13 @@ using namespace Editing;
 InsertRemoveTimeDialog::InsertRemoveTimeDialog (PublicEditor& e, bool remove)
        : ArdourDialog (remove ? _("Remove Time") : _("Insert Time"))
        , _editor (e)
-       , _clock ("insertTimeClock", true, "", true, false, true, false)
+       , _clock ("insertTimeClock", true, "",
+                       true,   // editable
+                       false,  // follows_playhead
+                       true,   // duration
+                       false,  // with_info
+                       true    // accept_on_focus_out
+               )
 {
        set_session (_editor.session ());
 
@@ -90,7 +96,7 @@ InsertRemoveTimeDialog::InsertRemoveTimeDialog (PublicEditor& e, bool remove)
        get_vbox()->pack_start (*tempo_box);
 
        add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
-       add_button (remove ? _("Cut time") : _("Insert time"), Gtk::RESPONSE_OK);
+       add_button (remove ? _("Remove time") : _("Insert time"), Gtk::RESPONSE_OK);
        show_all ();
 
        move_markers_toggled ();