X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor.cc;h=6f52c3e8da2c3fef17eda8e7c52dd73d1e4f124a;hb=90962d342614e4b817b17bb833e3418df76ab4cb;hp=ff587b2fc14683886a363d346e6e0ffeaa3fe3a0;hpb=ca3c191d7cf01712b961eec1aa7b0e979995e2a5;p=ardour.git diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index ff587b2fc1..6f52c3e8da 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -109,6 +109,7 @@ #include "editor_route_groups.h" #include "editor_routes.h" #include "editor_snapshots.h" +#include "editor_sources.h" #include "editor_summary.h" #include "enums_convert.h" #include "export_report.h" @@ -639,6 +640,7 @@ Editor::Editor () _route_groups = new EditorRouteGroups (this); _routes = new EditorRoutes (this); _regions = new EditorRegions (this); + _sources = new EditorSources (this); _snapshots = new EditorSnapshots (this); _locations = new EditorLocations (this); _time_info_box = new TimeInfoBox ("EditorTimeInfo", true); @@ -649,6 +651,7 @@ Editor::Editor () Location::end_changed.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, _1), gui_context()); Location::changed.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, _1), gui_context()); + add_notebook_page (_("Sources"), _sources->widget ()); add_notebook_page (_("Regions"), _regions->widget ()); add_notebook_page (_("Tracks & Busses"), _routes->widget ()); add_notebook_page (_("Snapshots"), _snapshots->widget ()); @@ -1334,6 +1337,7 @@ Editor::set_session (Session *t) _group_tabs->set_session (_session); _route_groups->set_session (_session); _regions->set_session (_session); + _sources->set_session (_session); _snapshots->set_session (_session); _routes->set_session (_session); _locations->set_session (_session); @@ -6035,6 +6039,7 @@ Editor::session_going_away () /* rip everything out of the list displays */ _regions->clear (); + _sources->clear (); _routes->clear (); _route_groups->clear ();