Skip to content

Commit e76807f

Browse files
authored
evince: drop unsupported formats from evince (scop#747)
Years ago, evince used to display many different image formats. I don't think it does any more. I'm running evince 42.2 from debian testing/unstable. I tested this with a simple image (/usr/share/icons/cab_view.png) and imagemagick's "convert" tool like so: ```sh suffixes="gif jpg png pnm pbm pgm ppm bmp xpm ico xwd tga pcx tiff miff" for x in $suffixes; do convert cab_view.png cab_view.$x evince cab_view.$x done ``` For all of the formats listed above except for "tiff", evince reports "Unable to open document: …", and "File type … is not supported" So i've removed those image formats from the evince tab completion.
1 parent e7af108 commit e76807f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/evince

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ _evince()
2525
return
2626
fi
2727

28-
_filedir '@(@(?(e)ps|?(E)PS|[pf]df|[PF]DF|dvi|DVI)?(.gz|.GZ|.bz2|.BZ2|.xz|.XZ)|cb[rz]|djv?(u)|gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx)'
28+
_filedir '@(@(?(e)ps|?(E)PS|[pf]df|[PF]DF|dvi|DVI)?(.gz|.GZ|.bz2|.BZ2|.xz|.XZ)|cb[rz]|djv?(u)|tif?(f))'
2929
} &&
3030
complete -F _evince evince
3131

0 commit comments

Comments
 (0)