#!/usr/sbin/install-menu
#   -*- mode: shell-script; -*-
#I need menu-1.4!
#
#NOTE: the first line of this script _must_ be
# equal to "#!/usr/sbin/install-menu", otherwise update-menus
# will feed this script old-compat-mode data.
#
#More info: /usr/doc/menu/html.
#
compat="menu-1"

!include menu.h

compat="menu-2"

function ex($com)=" Exec \""               translate(lang(), title()) "\" exec " $com " &\n";
function mod($var,$com)    =" " $var " \"" translate(lang(), title()) "\" " $com "\n";

supported;
  fvwm1module= mod("Module",  $command);
  wm=          mod("Restart", $command);
  x11fvwm=     ex($command);
  x11=         ex($command);
  text=        ex(term());
endsupported;

startmenu=   "Popup \"" $section "\"\n";
endmenu=     ifeqelse($section, "/Mandrake", 
             "	 Nop	\"\"\n	Quit	\"" translate(lang(), "Quit") "\"\nEndPopup\n\n",
             "EndPopup\n\n");
submenutitle="  Popup \"" translate(lang(), title()) "\" "
              $section "\n";
genmenu=      "menudefs1.hook";
rcfile=       "system.fvwmrc";
examplercfile="system.fvwmrc-menu";
rootprefix="/etc/X11/fvwm/";
userprefix=".fvwm/";
mainmenutitle="MandrakeMenu";
