General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Just a small macro for layers
Posted by: Andres
Date: January 22, 2003 08:55AM

Nothing special but I have found it useful to have no title on the layers toolbar.

Here is a small macro to enhance the layers menu. This macro enables any title or leaving the title blank:

layers-title {
menu = "Toolbar Title";
$layerstitle = getpref(STRING, "kmeleon.plugins.layers.title");
$layerstitle = prompt("Type the title here (or type one blank space for no title)", "Set title for the layers toolbar", $layerstitle);
setpref(STRING, "kmeleon.plugins.layers.title", $layerstitle);
}

(to be added to macros.cfg)

and the respective entry in menus.cfg would be
macros(layers-title)
positioned as follows:

%ifplugin layers
&Layers {
layers(Config, &Config)
layers(Open, &New Layer)
macros(layers-title)
-
layers()
}

Options: ReplyQuote


K-Meleon forum is powered by Phorum.