Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/idesk/idesk.client.class.in

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

revision 2403 by niro, Wed Aug 26 11:44:29 2015 UTC revision 2404 by niro, Mon Aug 31 08:57:10 2015 UTC
# Line 35  set_idesk_icon() Line 35  set_idesk_icon()
35   local command="${CLASS_ARGV[2]}"   local command="${CLASS_ARGV[2]}"
36   local icon="${CLASS_ARGV[3]}"   local icon="${CLASS_ARGV[3]}"
37   local filename="${CLASS_ARGV[4]}"   local filename="${CLASS_ARGV[4]}"
38   local xyres="${CLASS_ARGV[5]}"   local xypos="${CLASS_ARGV[5]}"
39   local widthheight="${CLASS_ARGV[6]}"   local widthheight="${CLASS_ARGV[6]}"
40   local deficon="${CLASS_ARGV[7]}"   local deficon="${CLASS_ARGV[7]}"
41   local i   local i
42   local xres   local xpos
43   local yres   local ypos
44   local iwidth   local iwidth
45   local iheight   local iheight
46    
47   [[ -z ${action} ]] && help_idesk_icon && return 1   [[ -z ${action} ]] && help_idesk_icon && return 1
48    
49   if [[ -n ${xyres} ]]   if [[ -n ${xypos} ]]
50   then   then
51   xres="${xyres%,*}"   xpos="${xypos%,*}"
52   yres="${xyres#*,}"   ypos="${xypos#*,}"
53   fi   fi
54    
55   if [[ -n ${widthheight} ]]   if [[ -n ${widthheight} ]]
# Line 72  set_idesk_icon() Line 72  set_idesk_icon()
72   --command "${command}" \   --command "${command}" \
73   --icon "${icon}" \   --icon "${icon}" \
74   --filename "${filename}" \   --filename "${filename}" \
75   --xres "${xres}" \   --xpos "${xpos}" \
76   --yres "${yres}" \   --ypos "${ypos}" \
77   --icon-width "${iwidth}" \   --icon-width "${iwidth}" \
78   --icon-height "${iheight}" \   --icon-height "${iheight}" \
79   --default-icon "${deficon}"   --default-icon "${deficon}"

Legend:
Removed from v.2403  
changed lines
  Added in v.2404