Am Dienstag, 5. April 2005 00:27 schrieb Stephan Binner: > CVS commit by binner: > > Bug 100597: SVG images don't have 'set as wallpaper' entry in context menu > when dragged to desktop > > > M +3 -2 konq_operations.cc 1.163 > > > --- kdebase/libkonq/konq_operations.cc #1.162:1.163 > @@ -539,6 +539,7 @@ void KonqOperations::doFileCopy() > (lst.count() == 1) && > ((!KImageIO::type(lst.first().path()).isEmpty()) || > - > (KImageIO::isSupported(KMimeType::findByURL(lst.first())->name(), - > KImageIO::Reading)))) > + > (KImageIO::isSupported(KMimeType::findByURL(lst.first())->name(), > KImageIO::Reading)) || + > lst.first().fileName().endsWith(".svg") || > + lst.first().fileName().endsWith(".svgz"))) > { > bSetWallpaper = true; I don't know much about our mimetype stuff, but isn't KMimeType::findByURL(lst.first())->is("image/svg+xml") safer? Especially since it also contains the upper case file extensions?