>   2) iterate over the viewer/editor list and overwrite all those for
>      which canOpenFile (see other message) returns true the command
>      with "auto"

I still do not understand why you insist on a 'canOpenFile' approach.
Let *windows* do this! it is none of Lyx' business. If a user wants to
view a file, fine, let he/she view it. Windows will use the
appropriate viewer, or let the user choose/install another viewer.

The "auto" viewer is just a walk around of lyx' current behavior,
since if there is no viewer specified for pdf, view->pdflatex etc will
disappear.

Cheers,
Bo

Reply via email to