typedef FormCB<ControlSendto, FormDB<FD_sendto> > base_class;
-FormSendto::FormSendto(ControlSendto & c, Dialogs & d)
- : base_class(c, d, _("Send document to command"))
+FormSendto::FormSendto()
+ : base_class(_("Send document to command"))
{}
}
vector<string> const browser_keys =
- getVectorFromBrowser(dialog_->browser_formats);
+ getVector(dialog_->browser_formats);
if (browser_keys == keys)
return;
if (line < 1 || line > fl_get_browser_maxline(dialog_->browser_formats))
return ButtonPolicy::SMI_INVALID;
- string cmd = getStringFromInput(dialog_->input_command);
- cmd = strip(frontStrip(cmd));
+ string cmd = getString(dialog_->input_command);
+ cmd = trim(cmd);
if (cmd.empty())
return ButtonPolicy::SMI_INVALID;
if (line < 1 || line > fl_get_browser_maxline(dialog_->browser_formats))
return;
- string const cmd = getStringFromInput(dialog_->input_command);
+ string const cmd = getString(dialog_->input_command);
controller().setFormat(all_formats_[line-1]);
controller().setCommand(cmd);