MozillaZine

Full Article Attached K-Meleon 0.8 Released

Monday November 10th, 2003

Version 0.8 of K-Meleon, the Mozilla-based Windows browser, has been released. Read the full article for more details from Andrew Mutch.


#17 Re: What's with the 'layers' thing

by Mad

Friday November 14th, 2003 10:45 AM

You are replying to this message

> No 'close layer' button (need to right-click and select from menu)

You can easily add a new toolbar with a button to close the current layer. You can then place this toolbar at the far right side of the layer toolbar, just like in Firebird.

Here are the modification:

In toolbar.cfg add (in the skins directory):

Layer Buttons { Close_Layer { macros(close_layer) Close Layer toolhot.bmp[2] toolcold.bmp[2] tooldead.bmp[2] } }

in macro.cfg:

close_layer { %ifplugin layers plugin(layers,Close) %endif }