From ac287895ed5fe949fe6c01b719a5195c877d3a75 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 06 Apr 2008 09:36:46 +0000 Subject: Add compressed dvi to the list of supported mime types. Patch by Ed 2008-04-06 Carlos Garcia Campos * configure.ac: * backend/dvi/dvidocument.evince-backend.in: Add compressed dvi to the list of supported mime types. Patch by Ed Catmur. Fixes bug #307087. svn path=/trunk/; revision=2990 --- diff --git a/ChangeLog b/ChangeLog index cbe2adc..b54b24f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2008-04-06 Carlos Garcia Campos + * configure.ac: + * backend/dvi/dvidocument.evince-backend.in: + + Add compressed dvi to the list of supported mime types. Patch by + Ed Catmur. Fixes bug #307087. + +2008-04-06 Carlos Garcia Campos + * shell/ev-jobs.c: (ev_job_print_get_page_list): Fix a crash when printing a range that doesn't specify the start or diff --git a/backend/dvi/dvidocument.evince-backend.in b/backend/dvi/dvidocument.evince-backend.in index b43e8df..cb5fe6e 100644 --- a/backend/dvi/dvidocument.evince-backend.in +++ b/backend/dvi/dvidocument.evince-backend.in @@ -1,4 +1,4 @@ [Evince Backend] Module=dvidocument _TypeDescription=DVI Documents -MimeType=application/x-dvi +MimeType=application/x-dvi;application/x-bzdvi;application/x-gzdvi diff --git a/configure.ac b/configure.ac index 73c8196..9342113 100644 --- a/configure.ac +++ b/configure.ac @@ -417,7 +417,7 @@ if test "x$enable_ps" = "xyes" ; then EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;" fi if test "x$enable_dvi" = "xyes"; then - EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/x-dvi;" + EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/x-dvi;application/x-bzdvi;application/x-gzdvi;" fi if test "x$enable_djvu" = "xyes"; then EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}image/vnd.djvu;" -- cgit v0.9.1