Thanks for that, but it only applies for the main "file" type of resource, not for a whole new resource type.
I worked out how to do it, by the way. Unfortunately you have to modify mod/resource/lib.php and add an extra statement into the resource_get_coursemodule_info() function. Not as easy as I hoped...
Resource types
How to ensure a new icon for a new resource type?
This discussion has been locked so you can no longer reply to it.