Empty files should not be treated as text/plain
Submitted by Gioele Barabucci
Link to original bug (#611625)
Description
When Evince is asked to open an empty files it complains that it does not support text/plain files. It should instead complain about the fact that the requested file is empty.
To reproduce:
$ touch x.pdf
$ evince x.pdf
evince complains with "Unable to open document" and "File type plain text document (text/plain) is not supported"
.
Version: git master
Edited by Germán Poo-Caamaño