diff options
author | David Robillard <d@drobilla.net> | 2007-03-18 06:07:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-03-18 06:07:08 +0000 |
commit | 99904735e066804358f1d0bd138a84f1e9ecda91 (patch) | |
tree | 71a924cf1660b5b00231275bd481bbd27094dd9b /gtk2_ardour/editor_route_list.cc | |
parent | eb270e70a12c410cdd98585ad25bb6d8e384a4f5 (diff) |
Merged with trunk R1612.
git-svn-id: svn://localhost/ardour2/branches/midi@1614 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_route_list.cc')
-rw-r--r-- | gtk2_ardour/editor_route_list.cc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_route_list.cc b/gtk2_ardour/editor_route_list.cc index 216e3a8e1b..5c97685ee8 100644 --- a/gtk2_ardour/editor_route_list.cc +++ b/gtk2_ardour/editor_route_list.cc @@ -15,7 +15,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id$ */ #include <algorithm> @@ -24,11 +23,13 @@ #include <cassert> #include "editor.h" +#include "keyboard.h" #include "ardour_ui.h" #include "audio_time_axis.h" #include "midi_time_axis.h" #include "mixer_strip.h" #include "gui_thread.h" +#include "actions.h" #include <pbd/unknown_type.h> @@ -56,7 +57,7 @@ Editor::handle_new_route (Session::RouteList& routes) boost::shared_ptr<Route> route = (*x); if (route->hidden()) { - return; + continue; } if (route->default_type() == ARDOUR::DataType::AUDIO) @@ -157,9 +158,10 @@ Editor::remove_route (TimeAxisView *tv) } } /* since the editor mixer goes away when you remove a route, set the - * button to inacttive + * button to inactive and untick the menu option */ editor_mixer_button.set_active(false); + ActionManager::uncheck_toggleaction ("<Actions>/Editor/show-editor-mixer"); /* and disable if all tracks and/or routes are gone */ @@ -275,6 +277,8 @@ Editor::redisplay_route_list () } + full_canvas_height = position; + /* make sure the cursors stay on top of every newly added track */ cursor_group->raise_to_top (); @@ -518,11 +522,13 @@ Editor::initial_route_list_display () void Editor::route_list_change (const Gtk::TreeModel::Path& path,const Gtk::TreeModel::iterator& iter) { + session->set_remote_control_ids(); redisplay_route_list (); } void Editor::route_list_delete (const Gtk::TreeModel::Path& path) { + session->set_remote_control_ids(); redisplay_route_list (); } |