Clean up view menu
Some naming conventions and ordering in the view menu were inconsistent.
This commit is contained in:
@@ -645,12 +645,9 @@
|
||||
<menuitem action='ToggleTriggerProps'/>
|
||||
|
||||
<separator/>
|
||||
<menuitem action='ToggleMixerStrip'/>
|
||||
#ifdef MIXBUS
|
||||
<menuitem action='ToggleMixerProps'/>
|
||||
#endif
|
||||
<menuitem action='ToggleMixerList'/>
|
||||
#ifdef MIXBUS
|
||||
<menuitem action='ToggleMixerProps'/>
|
||||
<menuitem action='ToggleMixbusPane'/>
|
||||
#endif
|
||||
<menuitem action='ToggleVCAPane'/>
|
||||
|
||||
@@ -3779,18 +3779,15 @@ Mixer_UI::register_actions ()
|
||||
|
||||
RefPtr<Action> act;
|
||||
if (!Profile->get_mixbus ()) {
|
||||
act = ActionManager::register_toggle_action (group, "ToggleMixerList", _("(Mixer) Show Sidebar List"), sigc::mem_fun (*this, &Tabbable::att_left_button_toggled));
|
||||
act = ActionManager::register_toggle_action (group, "ToggleMixerList", _("Mixer: Show Sidebar List"), sigc::mem_fun (*this, &Tabbable::att_left_button_toggled));
|
||||
left_attachment_button.set_related_action (act);
|
||||
act = ActionManager::register_toggle_action (group, "ToggleMixerStrip", _("(Mixer) Show Sidebar Strip"), []{});
|
||||
} else {
|
||||
act = ActionManager::register_toggle_action (group, "ToggleMixerList", _("(Mixer) Show Sidebar List"), sigc::mem_fun (*this, &Tabbable::att_right_button_toggled));
|
||||
act = ActionManager::register_toggle_action (group, "ToggleMixerList", _("Mixer: Show Sidebar List"), sigc::mem_fun (*this, &Tabbable::att_right_button_toggled));
|
||||
right_attachment_button.set_related_action (act);
|
||||
act = ActionManager::register_toggle_action (group, "ToggleMixerStrip", _("(Mixer) Show Sidebar Strip"), sigc::mem_fun (*this, &Tabbable::att_left_button_toggled));
|
||||
left_attachment_button.set_related_action (act);
|
||||
}
|
||||
|
||||
#ifdef MIXBUS
|
||||
act = ActionManager::register_toggle_action (group, "ToggleMixerProps", _("(Mixer) Show Properties Bottom"), sigc::mem_fun (*this, &Tabbable::att_bottom_button_toggled));
|
||||
act = ActionManager::register_toggle_action (group, "ToggleMixerProps", _("Mixer: Show Properties Bottom"), sigc::mem_fun (*this, &Tabbable::att_bottom_button_toggled));
|
||||
bottom_attachment_button.set_related_action (act);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -943,10 +943,10 @@ TriggerPage::register_actions ()
|
||||
|
||||
/* attachments visibility (editor-mixer-strip, bottom properties, sidebar list) */
|
||||
|
||||
Glib::RefPtr<Action> act = ActionManager::register_toggle_action (trigger_actions, "ToggleTriggerList", _("(Cue Page) Show Sidebar List"), sigc::mem_fun (*this, &Tabbable::att_right_button_toggled));
|
||||
Glib::RefPtr<Action> act = ActionManager::register_toggle_action (trigger_actions, "ToggleTriggerList", _("Cue Page: Show Sidebar List"), sigc::mem_fun (*this, &Tabbable::att_right_button_toggled));
|
||||
right_attachment_button.set_related_action (act);
|
||||
|
||||
act = ActionManager::register_toggle_action (trigger_actions, "ToggleTriggerProps", _("(Cue Page) Show Properties Bottom"), sigc::mem_fun (*this, &Tabbable::att_bottom_button_toggled));
|
||||
act = ActionManager::register_toggle_action (trigger_actions, "ToggleTriggerProps", _("Cue Page: Show Properties Bottom"), sigc::mem_fun (*this, &Tabbable::att_bottom_button_toggled));
|
||||
bottom_attachment_button.set_related_action (act);
|
||||
|
||||
ActionManager::register_action (trigger_actions, "clear-trigger-slot", _("Clear Selected Slot"), sigc::mem_fun (*this, &TriggerPage::clear_selected_slot));
|
||||
|
||||
Reference in New Issue
Block a user