mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Add some missing more tooltips
This commit is contained in:
parent
728558e51c
commit
f8d4197ce7
3 changed files with 11 additions and 2 deletions
|
|
@ -489,10 +489,15 @@ CueEditor::build_upper_toolbar ()
|
||||||
play_button.set_size_request (PX_SCALE(20), PX_SCALE(20));
|
play_button.set_size_request (PX_SCALE(20), PX_SCALE(20));
|
||||||
#undef PX_SCALE
|
#undef PX_SCALE
|
||||||
|
|
||||||
|
set_tooltip (play_button, _("Play this clip from the top"));
|
||||||
|
set_tooltip (loop_button, _("Loop the range of this clip"));
|
||||||
|
set_tooltip (solo_button, _("Solo the track containing this clip"));
|
||||||
|
|
||||||
play_button.signal_button_release_event().connect (sigc::mem_fun (*this, &CueEditor::play_button_press), false);
|
play_button.signal_button_release_event().connect (sigc::mem_fun (*this, &CueEditor::play_button_press), false);
|
||||||
solo_button.signal_button_release_event().connect (sigc::mem_fun (*this, &CueEditor::solo_button_press), false);
|
solo_button.signal_button_release_event().connect (sigc::mem_fun (*this, &CueEditor::solo_button_press), false);
|
||||||
loop_button.signal_button_release_event().connect (sigc::mem_fun (*this, &CueEditor::loop_button_press), false);
|
loop_button.signal_button_release_event().connect (sigc::mem_fun (*this, &CueEditor::loop_button_press), false);
|
||||||
} else {
|
} else {
|
||||||
|
set_tooltip (play_button, _("Launch selected clip"));
|
||||||
rec_box.pack_start (play_button, false, false);
|
rec_box.pack_start (play_button, false, false);
|
||||||
play_button.signal_button_release_event().connect (sigc::mem_fun (*this, &CueEditor::bang_button_press), false);
|
play_button.signal_button_release_event().connect (sigc::mem_fun (*this, &CueEditor::bang_button_press), false);
|
||||||
}
|
}
|
||||||
|
|
@ -502,6 +507,9 @@ CueEditor::build_upper_toolbar ()
|
||||||
rec_enable_button.signal_button_release_event().connect (sigc::mem_fun (*this, &CueEditor::rec_button_press), false);
|
rec_enable_button.signal_button_release_event().connect (sigc::mem_fun (*this, &CueEditor::rec_button_press), false);
|
||||||
rec_enable_button.set_name ("record enable button");
|
rec_enable_button.set_name ("record enable button");
|
||||||
|
|
||||||
|
set_tooltip (rec_enable_button, _("Record clip"));
|
||||||
|
set_tooltip (length_selector, _("Record length"));
|
||||||
|
|
||||||
std::string label;
|
std::string label;
|
||||||
std::string noun;
|
std::string noun;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2351,8 +2351,11 @@ EditingContext::bind_mouse_mode_buttons ()
|
||||||
RefPtr<Action> act;
|
RefPtr<Action> act;
|
||||||
|
|
||||||
act = ActionManager::get_action ((_name + X_("Editing")).c_str(), X_("temporal-zoom-in"));
|
act = ActionManager::get_action ((_name + X_("Editing")).c_str(), X_("temporal-zoom-in"));
|
||||||
|
act->set_tooltip (_("Zoom In"));
|
||||||
zoom_in_button.set_related_action (act);
|
zoom_in_button.set_related_action (act);
|
||||||
|
|
||||||
act = ActionManager::get_action ((_name + X_("Editing")).c_str(), X_("temporal-zoom-out"));
|
act = ActionManager::get_action ((_name + X_("Editing")).c_str(), X_("temporal-zoom-out"));
|
||||||
|
act->set_tooltip (_("Zoom Out"));
|
||||||
zoom_out_button.set_related_action (act);
|
zoom_out_button.set_related_action (act);
|
||||||
|
|
||||||
follow_playhead_button.set_related_action (follow_playhead_action);
|
follow_playhead_button.set_related_action (follow_playhead_action);
|
||||||
|
|
|
||||||
|
|
@ -2894,8 +2894,6 @@ Editor::setup_tooltips ()
|
||||||
set_tooltip (*_group_tabs, _("Groups: click to (de)activate\nContext-click for other operations"));
|
set_tooltip (*_group_tabs, _("Groups: click to (de)activate\nContext-click for other operations"));
|
||||||
set_tooltip (nudge_forward_button, _("Nudge Region/Selection Later"));
|
set_tooltip (nudge_forward_button, _("Nudge Region/Selection Later"));
|
||||||
set_tooltip (nudge_backward_button, _("Nudge Region/Selection Earlier"));
|
set_tooltip (nudge_backward_button, _("Nudge Region/Selection Earlier"));
|
||||||
set_tooltip (zoom_in_button, _("Zoom In"));
|
|
||||||
set_tooltip (zoom_out_button, _("Zoom Out"));
|
|
||||||
set_tooltip (zoom_preset_selector, _("Zoom to Time Scale"));
|
set_tooltip (zoom_preset_selector, _("Zoom to Time Scale"));
|
||||||
set_tooltip (full_zoom_button, _("Zoom to Session"));
|
set_tooltip (full_zoom_button, _("Zoom to Session"));
|
||||||
set_tooltip (tav_expand_button, _("Expand Tracks"));
|
set_tooltip (tav_expand_button, _("Expand Tracks"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue