Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/idesk/idesk-generate-icon-info.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2550 by niro, Mon Aug 31 08:57:10 2015 UTC revision 2551 by niro, Wed Sep 16 13:28:56 2015 UTC
# Line 44  case ${method} in Line 44  case ${method} in
44   # use some defaults for icon, dest, {x,y}pos   # use some defaults for icon, dest, {x,y}pos
45   [[ -z ${xpos} ]] && xpos=50   [[ -z ${xpos} ]] && xpos=50
46   [[ -z ${ypos} ]] && ypos=50   [[ -z ${ypos} ]] && ypos=50
47     # try to find an existing icon with the same name first
48     if [[ -z ${icon} ]]
49     then
50     [[ -f ${GLOBAL_PIXMAPS_PATH}/${name}.png ]] && icon="${name}.png"
51     fi
52   if [[ -z ${icon} ]]   if [[ -z ${icon} ]]
53   then   then
54   # if no default icon is given use default.png   # if no default icon is given use default.png

Legend:
Removed from v.2550  
changed lines
  Added in v.2551