I think you are a little vague.
You can do it with the accelerate Ctrl+F4 or with a mouse gesture (Look Mouse Gesture Plugin in Preferences).
A)
Read this documentation about menus.cfg file.
Read this documentation about macros.
There are two ways to do it:
1) Go to Edit -> Configuration -> Menus, and add this code lines at the end of file:
# New inline menu for context menu to close:
!Document{
!CloseTab
}
Save changes in file and restart K-Meleon to changes take effect.
2) Go to Edit -> Configuration -> User-Defined Macros, and create a new text file, renamed it to Close_CM.kmm (for example) and open the file with notepad (for example). Add this macro code in file:
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
#
# ---------- Close menu in Context menu -------------------------------------------------
#
# Dependencies : -
# Resources : -
# Preferences : -
# Version : -
# ---------------------------------------------------------------------------------------
#
_Close_CM_BuildMenu{
# New inline menu for context menu to close:
setmenu("Document",inline,"CloseTab",-1);
}
$OnInit=$OnInit."_Close_CM_BuildMenu;";
Save changes in file and restart K-Meleon to changes take effect.
K-Meleon in Spanish
Edited 5 time(s). Last edit at 06/27/2009 05:53PM by desga2.