--- mcore-src/trunk/mcore-tools/src/modules/idesk/idesk-generate-icon-info.in 2015/09/16 13:20:45 2550 +++ mcore-src/trunk/mcore-tools/src/modules/idesk/idesk-generate-icon-info.in 2015/09/16 13:28:56 2551 @@ -44,6 +44,11 @@ # use some defaults for icon, dest, {x,y}pos [[ -z ${xpos} ]] && xpos=50 [[ -z ${ypos} ]] && ypos=50 + # try to find an existing icon with the same name first + if [[ -z ${icon} ]] + then + [[ -f ${GLOBAL_PIXMAPS_PATH}/${name}.png ]] && icon="${name}.png" + fi if [[ -z ${icon} ]] then # if no default icon is given use default.png