diff -uNr kdebase/kfm/kfmman.cpp kdebase.new/kfm/kfmman.cpp --- kdebase/kfm/kfmman.cpp Thu Aug 19 17:15:01 1999 +++ kdebase.new/kfm/kfmman.cpp Fri Aug 27 20:28:06 1999 @@ -1812,11 +1812,7 @@ // At this time the icon protocol works for local files only. KMimeType *mime = KMimeType::getMagicMimeType( _url ); - if ( strcmp( mime->getMimeType(), "image/jpeg" ) == 0 || - strcmp( mime->getMimeType(), "image/gif" ) == 0 || - strcmp( mime->getMimeType(), "image/bmp" ) == 0 || - // Added bmp, because it seems to work. David. - strcmp( mime->getMimeType(), "image/x-xpm" ) == 0 ) + if ( strncmp( mime->getMimeType(), "image/", 6 ) == 0 ) { QString result; QString path(u2.path());