mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 22:56:32 +01:00
[Summary]: delete keybindings' description from track context menu
This commit is contained in:
parent
9da6b41b9e
commit
42d05e24df
1 changed files with 4 additions and 9 deletions
|
|
@ -1986,27 +1986,22 @@ Editor::add_track_context_items (Menu_Helpers::MenuList& edit_items)
|
|||
assert (act);
|
||||
Image* icon;
|
||||
icon = manage (new Gtk::Image (get_icon_path (X_ ("tool_marker_idle"))));
|
||||
edit_items.push_back (ImageMenuElem ( ("Range Select Tool \t 1"), *icon, sigc::bind (sigc::mem_fun (*this, &Editor::activate_track_context_menu_action), act)));
|
||||
edit_items.push_back (ImageMenuElem ("Range Select Tool", *icon, sigc::bind (sigc::mem_fun (*this, &Editor::activate_track_context_menu_action), act)));
|
||||
|
||||
act = ActionManager::get_action_from_name ("set-mouse-mode-object");
|
||||
assert (act);
|
||||
icon = manage (new Gtk::Image (get_icon_path (X_ ("tool_arrow_idle"))));
|
||||
#if defined (PLATFORM_WINDOWS)
|
||||
std::string str="\t\t\t";
|
||||
#else
|
||||
std::string str="\t\t";
|
||||
#endif
|
||||
edit_items.push_back (ImageMenuElem ( ("Pointer Tool "+str+"2"), *icon, sigc::bind (sigc::mem_fun (*this, &Editor::activate_track_context_menu_action), act)));
|
||||
edit_items.push_back (ImageMenuElem ("Pointer Tool", *icon, sigc::bind (sigc::mem_fun (*this, &Editor::activate_track_context_menu_action), act)));
|
||||
|
||||
act = ActionManager::get_action_from_name ("set-mouse-mode-cut");
|
||||
assert (act);
|
||||
icon = manage (new Gtk::Image (get_icon_path (X_ ("tool_cut_idle"))));
|
||||
edit_items.push_back (ImageMenuElem ( ("Split Tool "+str+"3"), *icon, sigc::bind (sigc::mem_fun (*this, &Editor::activate_track_context_menu_action), act)));
|
||||
edit_items.push_back (ImageMenuElem ("Split Tool", *icon, sigc::bind (sigc::mem_fun (*this, &Editor::activate_track_context_menu_action), act)));
|
||||
|
||||
act = ActionManager::get_action_from_name ("set-mouse-mode-zoom");
|
||||
assert (act);
|
||||
icon = manage (new Gtk::Image (get_icon_path (X_ ("tool_zoom_idle"))));
|
||||
edit_items.push_back (ImageMenuElem ( ("Zoom Tool"+str+"4"), *icon, sigc::bind (sigc::mem_fun (*this, &Editor::activate_track_context_menu_action), act)));
|
||||
edit_items.push_back (ImageMenuElem ("Zoom Tool", *icon, sigc::bind (sigc::mem_fun (*this, &Editor::activate_track_context_menu_action), act)));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue