I just wanted to know if it would be possible to get a kind of cross to close a particular layer, as in Firefox 2.0? (it was also possible with the previous versions thanks to an extension plugin)
Re: A cross to close a layer? (English / francais)
Posted by:
vpowell
Date: November 17, 2006 11:02PM
You could edit menus.cfg
( Edit -> Configuration -> Menus )
to add a close-layer (and also an open-file-or-url) context-menu item.
Edit the Nav{ menu so that the top-part looks like this:
Nav{
%ifplugin layers
layers(Close,Close Active Laye&r\tCtrl+F4)
-
%endif
&Open File or URL...\tCtrl+O=ID_FILE_OPEN
-
Bac&k\tAlt+Left=ID_NAV_BACK
For&ward\tAlt+Right=ID_NAV_FORWARD
S&top\tEsc=ID_NAV_STOP
Re: A cross to close a layer? (English / francais)
Posted by:
vpowell
Date: November 22, 2006 09:35AM
Actually Nikelaos, I do not know how to do what you asked.
I was trying to explain how to add new context menu items to most of the layers, which might do almost the same thing.
If you look at your menus.cfg file there is a menu called "Nav".
If you are using K-Meleon 1.0.2, the top part of the Nav menu should look something like this:
_____________________________________________
Nav{
Bac&k\tAlt+Left=ID_NAV_BACK
For&ward\tAlt+Right=ID_NAV_FORWARD
S&top\tEsc=ID_NAV_STOP
_____________________________________________
If you change the top part to look like this:
_____________________________________________
Nav{
%ifplugin layers
layers(Close,Close Active Laye&r\tCtrl+F4)
-
%endif
&Open File or URL...\tCtrl+O=ID_FILE_OPEN
-
Bac&k\tAlt+Left=ID_NAV_BACK
For&ward\tAlt+Right=ID_NAV_FORWARD
S&top\tEsc=ID_NAV_STOP
_____________________________________________
you will be adding new context-menu choices to some layers.
This will allow you to close the layers, or open a file (or url).