mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Rename Editor::duplicate_dialog to Editor::duplicate_range
git-svn-id: svn://localhost/ardour2/branches/3.0@12988 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
392a7fd238
commit
25e5bfd17e
3 changed files with 7 additions and 7 deletions
|
|
@ -1909,7 +1909,7 @@ Editor::add_selection_context_items (Menu_Helpers::MenuList& edit_items)
|
|||
edit_items.push_back (SeparatorElem());
|
||||
edit_items.push_back (MenuElem (_("Crop Region to Range"), sigc::mem_fun(*this, &Editor::crop_region_to_selection)));
|
||||
edit_items.push_back (MenuElem (_("Fill Range with Region"), sigc::mem_fun(*this, &Editor::region_fill_selection)));
|
||||
edit_items.push_back (MenuElem (_("Duplicate Range"), sigc::bind (sigc::mem_fun(*this, &Editor::duplicate_dialog), false)));
|
||||
edit_items.push_back (MenuElem (_("Duplicate Range"), sigc::bind (sigc::mem_fun(*this, &Editor::duplicate_range), false)));
|
||||
|
||||
edit_items.push_back (SeparatorElem());
|
||||
edit_items.push_back (MenuElem (_("Consolidate Range"), sigc::bind (sigc::mem_fun(*this, &Editor::bounce_range_selection), true, false)));
|
||||
|
|
@ -3251,7 +3251,7 @@ Editor::history_changed ()
|
|||
}
|
||||
|
||||
void
|
||||
Editor::duplicate_dialog (bool with_dialog)
|
||||
Editor::duplicate_range (bool with_dialog)
|
||||
{
|
||||
float times = 1.0f;
|
||||
|
||||
|
|
|
|||
|
|
@ -1838,7 +1838,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
|||
|
||||
/* duplication */
|
||||
|
||||
void duplicate_dialog (bool with_dialog);
|
||||
void duplicate_range (bool with_dialog);
|
||||
|
||||
framepos_t event_frame (GdkEvent const *, double* px = 0, double* py = 0) const;
|
||||
|
||||
|
|
|
|||
|
|
@ -285,7 +285,7 @@ Editor::register_actions ()
|
|||
reg_sens (editor_actions, "set-playhead", _("Playhead to Mouse"), sigc::mem_fun(*this, &Editor::set_playhead_cursor));
|
||||
reg_sens (editor_actions, "set-edit-point", _("Active Marker to Mouse"), sigc::mem_fun(*this, &Editor::set_edit_point));
|
||||
|
||||
reg_sens (editor_actions, "duplicate-range", _("Duplicate Range"), sigc::bind (sigc::mem_fun(*this, &Editor::duplicate_dialog), false));
|
||||
reg_sens (editor_actions, "duplicate-range", _("Duplicate Range"), sigc::bind (sigc::mem_fun(*this, &Editor::duplicate_range), false));
|
||||
|
||||
undo_action = reg_sens (editor_actions, "undo", S_("Command|Undo"), sigc::bind (sigc::mem_fun(*this, &Editor::undo), 1U));
|
||||
redo_action = reg_sens (editor_actions, "redo", _("Redo"), sigc::bind (sigc::mem_fun(*this, &Editor::redo), 1U));
|
||||
|
|
@ -1597,15 +1597,15 @@ Editor::register_region_actions ()
|
|||
_region_actions, "toggle-region-fades", _("Fades"), sigc::bind (sigc::mem_fun(*this, &Editor::toggle_region_fades), 0)
|
||||
);
|
||||
|
||||
/* Open the dialogue to duplicate selected regions */
|
||||
reg_sens (_region_actions, "duplicate-region", _("Duplicate"), sigc::bind (sigc::mem_fun (*this, &Editor::duplicate_dialog), false));
|
||||
/* Duplicate selected regions */
|
||||
reg_sens (_region_actions, "duplicate-region", _("Duplicate"), sigc::bind (sigc::mem_fun (*this, &Editor::duplicate_range), false));
|
||||
|
||||
/* Open the dialogue to duplicate selected regions multiple times */
|
||||
reg_sens (
|
||||
_region_actions,
|
||||
"multi-duplicate-region",
|
||||
_("Multi-Duplicate..."),
|
||||
sigc::bind (sigc::mem_fun(*this, &Editor::duplicate_dialog), true)
|
||||
sigc::bind (sigc::mem_fun(*this, &Editor::duplicate_range), true)
|
||||
);
|
||||
|
||||
/* Fill tracks with selected regions */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue