K-Meleon
KMeleonWiki > Resources > MacroLibrary > MacroLibrary2 > Close layer button
Submitted by: Marc
Note: this macro requires the deprecated layers Kplugin for pseudo-tabs; layers are deprecated. The latest official versions of K-Meleon and all active development natively support true tabs.
Notes:
The code here adds a new toolbar with 2 buttons. One for opening a new layer, and another to close the active layer.
close_layer { plugin(layers,Close); }
Layer Buttons { New_Layer { layers(Open) New Layer layers.bmp layers.bmp layers.bmp } Close_Layer { macros(close_layer) Close Layer toolhot.bmp[2] toolcold.bmp[2] toolcold.bmp[2] } }
Open new layer button did not work, tested with K-Meleon 0.8.2. Use layers(New) in place of layers(Open) instead.
Layer Buttons { New_Layer { layers(New) New Layer layers.bmp layers.bmp layers.bmp } Close_Layer { macros(close_layer) Close Layer toolhot.bmp[2] toolcold.bmp[2] toolcold.bmp[2] } }
(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.