- _progress_connection = job->Progress.connect (boost::bind (&JobView::progress, this));
- _finished_connection = job->Finished.connect (boost::bind (&JobView::finished, this));
+ finish_setup (_container, _buttons);
+
+ _controls = new wxBoxSizer (wxVERTICAL);
+ _controls->Add (_buttons);
+ _notify = new CheckBox (_container, _("Notify when complete"));
+ _notify->Bind (wxEVT_CHECKBOX, bind (&JobView::notify_clicked, this));
+ _notify->SetValue (Config::instance()->default_notify());
+ _controls->Add (_notify, 0, wxTOP, DCPOMATIC_BUTTON_STACK_GAP);
+
+ _table->Insert (n, _controls, 1, wxALIGN_CENTER_VERTICAL | wxALL, 3);
+
+ _progress_connection = _job->Progress.connect (boost::bind (&JobView::progress, this));
+ _finished_connection = _job->Finished.connect (boost::bind (&JobView::finished, this));