summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-11-15 09:21:55 -0600
committerBen Loftis <ben@harrisonconsoles.com>2019-08-01 12:11:31 -0500
commit90962d342614e4b817b17bb833e3418df76ab4cb (patch)
tree887010c2399875c971e280f557a66e83a8daaeb4 /gtk2_ardour/editor.cc
parentca3c191d7cf01712b961eec1aa7b0e979995e2a5 (diff)
(Source List) Source property signals (gtk2 part)
See: https://docs.google.com/document/d/1sI7p9RoRVZtNx2n67RvBa0_16fuZblV_lNkkKN2g93s/edit?usp=sharing
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r--gtk2_ardour/editor.cc5
1 files changed, 5 insertions, 0 deletions
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 ();