On 11/04/2016 08:20 PM, Tommaso Cucinotta wrote: > On 05/11/2016 01:16, LyX Ticket Tracker wrote: >> Attached a first attempt at JMarc's proposed user prompt. > > here's the patch, for on-list discussion if preferred.
> @@ -402,6 +405,18 @@ bool Converters::convert(Buffer const * buffer, > "tmpfile.out")); > } > > + if (conv.need_auth()) { > + std::string const & fname = buffer->filePath(); > + if (auth_files.find(fname) == auth_files.end()) { > + int choice = frontend::Alert::prompt( > + _("Confirm use of converter"), > bformat(_("LyX is about to call converter '%1$s', which is potentially > dangerous. Continue?"), from_utf8(conv.command())), > + 0, 0, _("&No"), _("&Yes"), _("Yes to > &all for document")); I think this would normally be phrased as: "Yes, and do not ask again for this document". rh