This is done before any suffix is dropped, so icons with dot in their names can also be discovered.
Fixes: #84 (closed)
Signed-off-by: Miao Wang shankerwangmiao@gmail.com