#!/usr/sbin/install-menu compat="menu-1" !include menu.h function ltitle()=translate(lang(),title()) function findicon($filename)= \ ifeqelse($filename, "", "", \ ifelsefile("/usr/share/icons/mini/" $filename, "/usr/share/icons/mini/" $filename, "")) supported wm= "+ \"" escfirst(ltitle(), $hotkey,"&") \ cond_surr(findicon($icon),"%","%") "\" Restart " $command "\n" fvwm2module= "+ \"" escfirst(ltitle(), $hotkey,"&") \ cond_surr(findicon($icon),"%","%") "\" Module " $command "\n" fvwm2= "+ \"" escfirst(ltitle() ,$hotkey,"&") \ cond_surr(findicon($icon),"%","%") "\" " $command "\n" x11= "+ \"" escfirst(ltitle() ,$hotkey,"&") \ cond_surr(findicon($icon),"%","%") "\" Exec " $command "\n" text= "+ \"" escfirst(ltitle() ,$hotkey,"&") \ cond_surr(findicon($icon),"%","%") "\"" \ " Exec /usr/bin/X11/xterm -T \"" ltitle() "\" -e " $command "\n" endsupported startmenu= ifeqelse($section, "Mandrake menu", \ "AddToMenu RootMenu \"Mandrake menu\" Title", \ "AddToMenu \"" replacewith($section, " ", "_") "\"" \ " \"" ltitle() "\" Title") "\n" endmenu= "\n" submenutitle= "+ \"" escfirst(ltitle() ,$hotkey,"&") \ cond_surr(findicon($icon),"%","%") "\" PopUp " replacewith($section, " ", "_") "\n" rootprefix="/etc/X11/fvwm2/" userprefix="/.fvwm/" treewalk="c(m)" genmenu="menu" rootsection="Mandrake menu" examplercfile="system.fvwm2rc-menu.in" rcfile="system.fvwm2rc-menu"