mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
remove visible "sound notes" button,add Config parameter to control this (which then saves the state the user selected), add control to the prefs dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@10934 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
20aeb5af0a
commit
50aee54219
7 changed files with 15 additions and 28 deletions
|
|
@ -642,7 +642,6 @@ Editor::Editor ()
|
|||
// load_bindings ();
|
||||
|
||||
setup_toolbar ();
|
||||
setup_midi_toolbar ();
|
||||
|
||||
_snap_type = SnapToBeat;
|
||||
set_snap_to (_snap_type);
|
||||
|
|
@ -2982,27 +2981,9 @@ Editor::setup_tooltips ()
|
|||
ARDOUR_UI::instance()->set_tip (snap_type_selector, _("Snap/Grid Units"));
|
||||
ARDOUR_UI::instance()->set_tip (snap_mode_selector, _("Snap/Grid Mode"));
|
||||
ARDOUR_UI::instance()->set_tip (edit_point_selector, _("Edit point"));
|
||||
ARDOUR_UI::instance()->set_tip (midi_sound_notes, _("Sound Notes"));
|
||||
ARDOUR_UI::instance()->set_tip (edit_mode_selector, _("Edit Mode"));
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Editor::setup_midi_toolbar ()
|
||||
{
|
||||
RefPtr<Action> act;
|
||||
|
||||
/* Midi sound notes */
|
||||
midi_sound_notes.add (*(manage (new Image (::get_icon("midi_sound_notes")))));
|
||||
midi_sound_notes.unset_flags (CAN_FOCUS);
|
||||
midi_sound_notes.set_name (X_("MidiSoundNotesButton"));
|
||||
|
||||
/* Panic */
|
||||
|
||||
panic_box.pack_start (midi_sound_notes , true, true);
|
||||
// panic_box.pack_start (midi_panic_button, true, true);
|
||||
}
|
||||
|
||||
int
|
||||
Editor::convert_drop_to_paths (
|
||||
vector<string>& paths,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue