--- alx-src/branches/alxconf-060/functions/config_sessions.sh 2011/06/27 15:20:33 2479 +++ alx-src/branches/alxconf-060/functions/config_sessions.sh 2011/06/30 11:25:44 2495 @@ -162,8 +162,8 @@ [[ -z ${dest} ]] && dest="${ALX_UNPRIV_HOME}/.idesktop/${name}.lnk" # use some defaults for icon, dest, {x,y}res - [[ -z ${xres} ]] && xres=30 - [[ -z ${yres} ]] && xres=30 + [[ -z ${xres} ]] && xres=50 + [[ -z ${yres} ]] && xres=50 if [[ -z ${icon} ]] || [ ! -f ${icon} ] then # if no default icon is given use default.png @@ -231,8 +231,8 @@ install -d ${dest} # default settings - declare -i x=30 - declare -i y=30 + declare -i x=50 + declare -i y=50 # ica icons for i in ${session_list} @@ -246,7 +246,7 @@ # new line if x > xres if [ ${x} -ge ${xres} ] then - x=30 + x=50 y=$((${y} + 80)) fi @@ -254,10 +254,10 @@ if [ ${y} -ge ${yres} ] then x=$((${x} + 120)) - y=30 + y=50 # re-check x - [ ${x} -ge ${xres} ] && x=30 + [ ${x} -ge ${xres} ] && x=50 fi generate_icon \ @@ -282,7 +282,7 @@ # new line if x > xres if [ ${x} -ge ${xres} ] then - x=30 + x=50 y=$((${y} + 80)) fi @@ -290,10 +290,10 @@ if [ ${y} -ge ${yres} ] then x=$((${x} + 120)) - y=30 + y=50 # re-check x - [ ${x} -ge ${xres} ] && x=30 + [ ${x} -ge ${xres} ] && x=50 fi generate_icon \ @@ -314,7 +314,7 @@ # new line if x > xres if [ ${x} -ge ${xres} ] then - x=30 + x=50 y=$((${y} + 80)) fi @@ -322,10 +322,10 @@ if [ ${y} -ge ${yres} ] then x=$((${x} + 120)) - y=30 + y=50 # re-check x - [ ${x} -ge ${xres} ] && x=30 + [ ${x} -ge ${xres} ] && x=50 fi case ${i} in