Magellan Linux

Diff of /alx-src/branches/alxconf-060/functions/config_sessions.sh

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

revision 2469 by niro, Mon Jun 27 15:07:00 2011 UTC revision 2479 by niro, Mon Jun 27 15:20:33 2011 UTC
# Line 311  generate_all_desktop_icons() Line 311  generate_all_desktop_icons()
311   # add shutdown, reboot icons   # add shutdown, reboot icons
312   for i in shutdown reboot   for i in shutdown reboot
313   do   do
  # abort if empty  
  [[ -z ${i} ]] && continue  
   
314   # new line if x > xres   # new line if x > xres
315   if [ ${x} -ge ${xres} ]   if [ ${x} -ge ${xres} ]
316   then   then
# Line 332  generate_all_desktop_icons() Line 329  generate_all_desktop_icons()
329   fi   fi
330    
331   case ${i} in   case ${i} in
332   shutdown) name="Herunterfahren"   shutdown) name="Herunterfahren" ;;
333   reboot) name="Neustarten"   reboot) name="Neustarten" ;;
334   esac   esac
335    
336   generate_icon \   generate_icon \

Legend:
Removed from v.2469  
changed lines
  Added in v.2479