summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/content_panel.cc18
-rw-r--r--src/wx/content_panel.h2
2 files changed, 0 insertions, 20 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index b4b9f13da..473fd5173 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -82,9 +82,6 @@ ContentPanel::ContentPanel (wxNotebook* n, boost::shared_ptr<Film> f)
_sizer->Add (s, 0, wxEXPAND | wxALL, 6);
}
- _sequence_video = new wxCheckBox (_panel, wxID_ANY, _("Keep video in sequence"));
- _sizer->Add (_sequence_video);
-
_notebook = new wxNotebook (_panel, wxID_ANY);
_sizer->Add (_notebook, 1, wxEXPAND | wxTOP, 6);
@@ -107,7 +104,6 @@ ContentPanel::ContentPanel (wxNotebook* n, boost::shared_ptr<Film> f)
_earlier->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&ContentPanel::earlier_clicked, this));
_later->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&ContentPanel::later_clicked, this));
_timeline->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&ContentPanel::timeline_clicked, this));
- _sequence_video->Bind (wxEVT_COMMAND_CHECKBOX_CLICKED, boost::bind (&ContentPanel::sequence_video_changed, this));
}
ContentList
@@ -194,25 +190,12 @@ ContentPanel::selected_ffmpeg ()
}
void
-ContentPanel::sequence_video_changed ()
-{
- if (!_film) {
- return;
- }
-
- _film->set_sequence_video (_sequence_video->GetValue ());
-}
-
-void
ContentPanel::film_changed (Film::Property p)
{
switch (p) {
case Film::CONTENT:
setup ();
break;
- case Film::SEQUENCE_VIDEO:
- checked_set (_sequence_video, _film->sequence_video ());
- break;
default:
break;
}
@@ -359,7 +342,6 @@ ContentPanel::set_general_sensitivity (bool s)
_earlier->Enable (s);
_later->Enable (s);
_timeline->Enable (s);
- _sequence_video->Enable (s);
/* Set the panels in the content notebook */
for (list<ContentSubPanel*>::iterator i = _panels.begin(); i != _panels.end(); ++i) {
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h
index ab198411d..88aac7049 100644
--- a/src/wx/content_panel.h
+++ b/src/wx/content_panel.h
@@ -66,7 +66,6 @@ public:
void add_file_clicked ();
private:
- void sequence_video_changed ();
void selection_changed ();
void add_folder_clicked ();
void remove_clicked ();
@@ -89,7 +88,6 @@ private:
wxButton* _earlier;
wxButton* _later;
wxButton* _timeline;
- wxCheckBox* _sequence_video;
ContentSubPanel* _video_panel;
ContentSubPanel* _audio_panel;
ContentSubPanel* _subtitle_panel;