_main_notebook->AddPage (_content_panel->panel (), _("Content"), true);
_dcp_panel = new DCPPanel (_main_notebook, _film);
_main_notebook->AddPage (_dcp_panel->panel (), _("DCP"), false);
-
+
JobManager::instance()->ActiveJobsChanged.connect (
bind (&FilmEditor::active_jobs_changed, this, _1)
);
FilmEditor::film_changed (Film::Property p)
{
ensure_ui_thread ();
-
+
if (!_film) {
return;
}
FilmEditor::film_content_changed (int property)
{
ensure_ui_thread ();
-
+
if (!_film) {
/* We call this method ourselves (as well as using it as a signal handler)
so _film can be 0.
if (_film == film) {
return;
}
-
+
_film = film;
_content_panel->set_film (_film);