Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 151e72237b5302fbfcd7b18ede77d1e6 > files > 2

waimea-0.4.0-3mdk.ppc.rpm

#!/usr/sbin/install-menu
#
# Generates waimea menus for all registered applications.
compat="menu-1"

!include menu.h


function ltitle()=translate(lang(),title())

supported
    x11=   "  [item] (" esc(ltitle(), "()") ") {" esc($command, "()") "}\n" 
    wm=	   "  [restart] ("  esc(ltitle(), "()")  ")  {" esc($command, "()") "}\n" 
    text=  "  [item] (" esc(ltitle(), "()") ") { xterm -T \"" esc(ltitle(), "()") "\" -e " esc($command, "()") "}\n"
endsupported

preoutput= \
  "\
! Automatically generated file.\n\
! Can be edited with menudrake.\n\
! WARNING!\n\
! If you want to edit this file manually rename it and update ~/.waimea/menu\n\
!\n\
!\n\
"

genmenu="menudefs.hooks"
rcfile=menu
rootprefix="/usr/share/waimea/"
userprefix=".waimea/"
examplercfile="menu-menu"
treewalk=(M)
startmenu= " [submenu]  (" esc(ltitle(),"()") ")\n"
endmenu= "[end]\n"