Fix autoscroll fudge calculations. Remove some unused
[ardour.git] / gtk2_ardour / insert_time_dialog.cc
index bc17a6a7c8ebb98d52eba5160df003f758884d0c..ae0e9a1f8ff05fa83d530e212655a708f097da09 100644 (file)
@@ -31,7 +31,7 @@ using namespace Editing;
 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 ());
 
@@ -62,6 +62,9 @@ InsertTimeDialog::InsertTimeDialog (PublicEditor& e)
 
        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"));
@@ -108,6 +111,12 @@ InsertTimeDialog::intersected_region_action ()
        return opt;
 }
 
+bool
+InsertTimeDialog::all_playlists () const
+{
+       return _all_playlists.get_active ();
+}
+
 bool
 InsertTimeDialog::move_glued () const
 {