Use the word Remove consistently for the remove regions

action, instead of the word Delete in the menu item and
Remove elsewhere.


git-svn-id: svn://localhost/ardour2/branches/3.0@10622 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-11-15 18:32:42 +00:00
parent f66b919e29
commit 9355226fdf
3 changed files with 5 additions and 5 deletions

View File

@ -583,7 +583,7 @@ Editor::register_actions ()
ActionManager::register_radio_action (rl_actions, sort_type_group, X_("SortBySourceFilesystem"), _("By Source Filesystem"),
sigc::bind (sigc::mem_fun (*_regions, &EditorRegions::reset_sort_type), BySourceFileFS, false));
ActionManager::register_action (rl_actions, X_("removeUnusedRegions"), _("Delete Unused"), sigc::mem_fun(*_regions, &EditorRegions::delete_unused_regions));
ActionManager::register_action (rl_actions, X_("removeUnusedRegions"), _("Remove Unused"), sigc::mem_fun (*_regions, &EditorRegions::remove_unused_regions));
/* the next two are duplicate items with different names for use in two different contexts */

View File

@ -409,7 +409,7 @@ EditorRegions::add_region (boost::shared_ptr<Region> region)
}
void
EditorRegions::delete_unused_regions ()
EditorRegions::remove_unused_regions ()
{
vector<string> choices;
string prompt;
@ -1543,7 +1543,7 @@ EditorRegions::show_action () const
}
RefPtr<Action>
EditorRegions::delete_unused_regions_action () const
EditorRegions::remove_unused_regions_action () const
{
return ActionManager::get_action (X_("RegionList"), X_("removeUnusedRegions"));
}

View File

@ -68,7 +68,7 @@ public:
_display.get_selection()->unselect_all ();
}
void delete_unused_regions();
void remove_unused_regions ();
XMLNode& get_state () const;
void set_state (const XMLNode &);
@ -182,7 +182,7 @@ private:
Glib::RefPtr<Gtk::Action> hide_action () const;
Glib::RefPtr<Gtk::Action> show_action () const;
Glib::RefPtr<Gtk::Action> delete_unused_regions_action() const;
Glib::RefPtr<Gtk::Action> remove_unused_regions_action () const;
Glib::RefPtr<Gtk::ToggleAction> toggle_full_action () const;
Glib::RefPtr<Gtk::ToggleAction> toggle_show_auto_regions_action () const;