mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
add the compressed versions of eps
BUG: 177516 svn path=/trunk/KDE/kdegraphics/okular/; revision=896220
This commit is contained in:
parent
7d410b92d2
commit
055e7b0d66
|
@ -1,5 +1,5 @@
|
|||
[Desktop Entry]
|
||||
MimeType=image/bmp;image/x-dds;image/x-eps;image/x-exr;image/gif;image/x-hdr;image/x-ico;image/jp2;image/jpeg;video/x-mng;image/x-portable-bitmap;image/x-pcx;image/x-portable-graymap;image/png;image/x-portable-pixmap;image/x-psd;image/x-rgb;image/x-tga;image/tiff;image/x-xbitmap;image/x-xcf;image/x-xpixmap;
|
||||
MimeType=image/bmp;image/x-dds;image/x-eps;image/x-exr;image/gif;image/x-hdr;image/x-ico;image/jp2;image/jpeg;video/x-mng;image/x-portable-bitmap;image/x-pcx;image/x-portable-graymap;image/png;image/x-portable-pixmap;image/x-psd;image/x-rgb;image/x-tga;image/tiff;image/x-xbitmap;image/x-xcf;image/x-xpixmap;image/x-gzeps;image/x-bzeps;
|
||||
Terminal=false
|
||||
Name=Okular
|
||||
Name[x-test]=xxOkularxx
|
||||
|
|
|
@ -5,4 +5,4 @@ Name[x-test]=xxOkularxx
|
|||
X-KDE-ServiceTypes=KParts/ReadOnlyPart
|
||||
X-KDE-Library=okularpart
|
||||
Type=Service
|
||||
MimeType=image/bmp;image/x-dds;image/x-eps;image/x-exr;image/gif;image/x-hdr;image/x-ico;image/jp2;image/jpeg;video/x-mng;image/x-portable-bitmap;image/x-pcx;image/x-portable-graymap;image/png;image/x-portable-pixmap;image/x-psd;image/x-rgb;image/x-tga;image/tiff;image/x-xbitmap;image/x-xcf;image/x-xpixmap;
|
||||
MimeType=image/bmp;image/x-dds;image/x-eps;image/x-exr;image/gif;image/x-hdr;image/x-ico;image/jp2;image/jpeg;video/x-mng;image/x-portable-bitmap;image/x-pcx;image/x-portable-graymap;image/png;image/x-portable-pixmap;image/x-psd;image/x-rgb;image/x-tga;image/tiff;image/x-xbitmap;image/x-xcf;image/x-xpixmap;image/x-gzeps;image/x-bzeps;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Desktop Entry]
|
||||
MimeType=application/postscript;image/x-eps;application/x-gzpostscript;application/x-bzpostscript;
|
||||
MimeType=application/postscript;image/x-eps;application/x-gzpostscript;application/x-bzpostscript;image/x-gzeps;image/x-bzeps;
|
||||
Terminal=false
|
||||
Name=Okular
|
||||
Name[x-test]=xxOkularxx
|
||||
|
|
|
@ -5,4 +5,4 @@ Name[x-test]=xxOkularxx
|
|||
X-KDE-ServiceTypes=KParts/ReadOnlyPart
|
||||
X-KDE-Library=okularpart
|
||||
Type=Service
|
||||
MimeType=application/postscript;image/x-eps;application/x-gzpostscript;application/x-bzpostscript;
|
||||
MimeType=application/postscript;image/x-eps;application/x-gzpostscript;application/x-bzpostscript;image/x-gzeps;image/x-bzeps;
|
||||
|
|
4
part.cpp
4
part.cpp
|
@ -171,6 +171,10 @@ static QString compressedMimeFor( const QString& mime_to_check )
|
|||
QString::fromLatin1( "application/x-bzip" );
|
||||
compressedMimeMap[ QString::fromLatin1( "application/x-bzdvi" ) ] =
|
||||
QString::fromLatin1( "application/x-bzip" );
|
||||
compressedMimeMap[ QString::fromLatin1( "image/x-gzeps" ) ] =
|
||||
QString::fromLatin1( "application/x-gzip" );
|
||||
compressedMimeMap[ QString::fromLatin1( "image/x-bzeps" ) ] =
|
||||
QString::fromLatin1( "application/x-bzip" );
|
||||
}
|
||||
QHash< QString, QString >::const_iterator it = compressedMimeMap.constFind( mime_to_check );
|
||||
if ( it != compressedMimeMap.constEnd() )
|
||||
|
|
Loading…
Reference in a new issue