Add track-rec/mute/solo actions to menu, so users can bind them
Make Fit-Tracks sensitive to track selections
This commit is contained in:
parent
6e37afeee5
commit
3876b48879
@ -311,6 +311,11 @@
|
|||||||
|
|
||||||
<menu action='TrackMenu'>
|
<menu action='TrackMenu'>
|
||||||
<menuitem action='AddTrackBus'/>
|
<menuitem action='AddTrackBus'/>
|
||||||
|
<separator/>
|
||||||
|
<menuitem action='track-record-enable-toggle'/>
|
||||||
|
<menuitem action='track-solo-toggle'/>
|
||||||
|
<menuitem action='track-mute-toggle'/>
|
||||||
|
<separator/>
|
||||||
<menuitem action='insert-time'/>
|
<menuitem action='insert-time'/>
|
||||||
<menuitem action="move-selected-tracks-up"/>
|
<menuitem action="move-selected-tracks-up"/>
|
||||||
<menuitem action="move-selected-tracks-down"/>
|
<menuitem action="move-selected-tracks-down"/>
|
||||||
@ -322,8 +327,8 @@
|
|||||||
<menuitem action='track-height-normal'/>
|
<menuitem action='track-height-normal'/>
|
||||||
<menuitem action='track-height-small'/>
|
<menuitem action='track-height-small'/>
|
||||||
</menu>
|
</menu>
|
||||||
<menuitem action='track-record-enable-toggle'/>
|
<separator/>
|
||||||
<menuitem action='toggle-track-active'/>
|
<menuitem action='toggle-track-active'/>
|
||||||
<menuitem action='remove-track'/>
|
<menuitem action='remove-track'/>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
|
@ -405,7 +405,8 @@ Editor::register_actions ()
|
|||||||
}
|
}
|
||||||
ActionManager::track_selection_sensitive_actions.push_back (act);
|
ActionManager::track_selection_sensitive_actions.push_back (act);
|
||||||
|
|
||||||
reg_sens (editor_actions, "fit-tracks", _("Fit Selected Tracks"), sigc::mem_fun(*this, &Editor::fit_selected_tracks));
|
act = reg_sens (editor_actions, "fit-tracks", _("Fit Selected Tracks"), sigc::mem_fun(*this, &Editor::fit_selected_tracks));
|
||||||
|
ActionManager::track_selection_sensitive_actions.push_back (act);
|
||||||
|
|
||||||
act = reg_sens (editor_actions, "track-height-largest", _("Largest"), sigc::bind (
|
act = reg_sens (editor_actions, "track-height-largest", _("Largest"), sigc::bind (
|
||||||
sigc::mem_fun(*this, &Editor::set_track_height), HeightLargest));
|
sigc::mem_fun(*this, &Editor::set_track_height), HeightLargest));
|
||||||
|
Loading…
Reference in New Issue
Block a user