# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- mtypes Extension (MIME Type Editor) -------------------------------------------------------------------
#
# Dependencies	: main.kmm (OpenURL)
# Resources	: -
# Preferences	: -
#
# ------------------------------------------------------------------------------------------------------------------

mtypes{
macroinfo=_("Change file type settings");
$OpenURL="chrome://kmprefs/content/pref.xul?filetypes"; &OpenURL_InNewWindow;
#$OpenURL="chrome://kmprefs/content/pref-filetypes.xul"; &OpenURL_InNewWindow;
#macros(kmPrefs(filetypes));
#$OpenURL="chrome://mtypes/content/pref/pref.xul"; &OpenURL_InNewWindow;
}

# ----- PRIVATE

_mtypes_BuildMenu{
# edit menu
setmenu(Preferences,macro,"MIME T&ypes...",mtypes);
}
$OnInit=$OnInit."_mtypes_BuildMenu;";

# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."mtypes;";