Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/fluxbox/fluxbox-menuitem.in

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

revision 2280 by niro, Tue Jan 14 14:36:04 2014 UTC revision 2281 by niro, Tue Jan 14 14:54:56 2014 UTC
# Line 17  do Line 17  do
17   --exec) shift; exec="$1" ;;   --exec) shift; exec="$1" ;;
18   --workdir) shift; workdir="$1" ;;   --workdir) shift; workdir="$1" ;;
19   --icon) shift; icon="$1" ;;   --icon) shift; icon="$1" ;;
20     --comment) shift; comment="$1" ;;
21   esac   esac
22   shift   shift
23  done  done
# Line 29  case "${method}" in Line 30  case "${method}" in
30   [[ -n ${exec} ]] || die "No exec given"   [[ -n ${exec} ]] || die "No exec given"
31   CONFIG="${MROOT}/${MENUCONFDIR}/${name}"   CONFIG="${MROOT}/${MENUCONFDIR}/${name}"
32   clearconfig   clearconfig
33     [[ -n ${comment} ]] && addconfig "# ${comment}"
34   addconfig "[exec] (${name}) {${exec}}"   addconfig "[exec] (${name}) {${exec}}"
35   ;;   ;;
36    

Legend:
Removed from v.2280  
changed lines
  Added in v.2281