- table->Insert (n, _details, 1, wxALIGN_CENTER_VERTICAL | wxALL, 3);
- ++n;
+ _buttons->Add (_details, 1, wxALIGN_CENTER_VERTICAL | wxRIGHT, DCPOMATIC_BUTTON_STACK_GAP);
+
+ 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);