From 711db34a81eed3748684bc52b17a56292ffe4092 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 25 May 2011 15:19:47 +0000 Subject: Remove MIDI track default channel and its menu, and choose the channel for new notes using MidiTimeAxisView::get_channel_for_add() (fixes #3998 and #3865). git-svn-id: svn://localhost/ardour2/branches/3.0@9585 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/midi_time_axis.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/midi_time_axis.h') diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h index 489ce0ccd3..032db50b36 100644 --- a/gtk2_ardour/midi_time_axis.h +++ b/gtk2_ardour/midi_time_axis.h @@ -101,6 +101,8 @@ class MidiTimeAxisView : public RouteTimeAxisView void first_idle (); + uint8_t get_channel_for_add () const; + protected: void start_step_editing (); void stop_step_editing (); @@ -141,9 +143,6 @@ class MidiTimeAxisView : public RouteTimeAxisView Gtk::CheckMenuItem* _midi_thru_item; Gtk::Menu* default_channel_menu; - - Gtk::Menu* build_def_channel_menu(); - void set_default_channel (int); void toggle_midi_thru (); void change_all_channel_tracks_visibility (bool yn, Evoral::Parameter param); -- cgit v1.2.3