General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
menu bar to button
Posted by: barzel
Date: October 08, 2008 08:43AM

Is there a way to replace the whole menu bar with a dropdown button like Opera allows to do?



Thanks!

Options: ReplyQuote
Re: menu bar to button
Posted by: desga2
Date: October 08, 2008 11:34AM

You can enabled this code in your skin toolbars.cfg file:
Edit -> Configuration -> Toolbars

Search this cide lines:
#	Options{
#	ID_PREFERENCES|Compact Menu
#	View Preferences. Right-click to view Compact Menu.
#	mainbarhot.bmp[10]
#	mainbarcold.bmp[10]
#	mainbarcold.bmp[10]
#	}

Replace by this:
	Options{
	ID_PREFERENCES|Compact Menu
	View Preferences. Right-click to view Compact Menu.
	mainbarhot.bmp[10]
	mainbarcold.bmp[10]
	mainbarcold.bmp[10]
	}

This enable a toolbar button to:
Left click -> Go to Preferences panel.
Right click -> Show menu in drop menu like Opera.

If you like only show drop menu in left click change by this line:
	Options{
	Compact Menu
	Compact Menu.
	mainbarhot.bmp[10]
	mainbarcold.bmp[10]
	mainbarcold.bmp[10]
	}

If you like replace toolbar icon by text delete before lines with .bmp files.

To hide menu bar go to Preferences (F2 key) -> GUI Apparence (section) -> Toolbars (subsection) -> General (tab) -> and check "Hide menu bar" option.

K-Meleon in Spanish



Edited 2 time(s). Last edit at 10/08/2008 11:37AM by desga2.

Options: ReplyQuote
Re: menu bar to button
Posted by: barzel
Date: October 08, 2008 01:11PM

Thank you for your ultra detailed explanation!
The Left click + right click option works ok. However, the left click only option
Options{
Compact Menu
Compact Menu.
mainbarhot.bmp[10]
mainbarcold.bmp[10]
mainbarcold.bmp[10]
}
does nothing, the button simply isn't functional.
Not really a problem cause the other option is good as well but if you have some time to investigate further I'd be happy to know where the problem lies.
Thanks again!

Options: ReplyQuote
Re: menu bar to button
Posted by: guenter
Date: October 08, 2008 03:00PM

barzel schrieb:
-------------------------------------------------------
>
> Options{
> Compact Menu
> Compact Menu.
> mainbarhot.bmp[10]
> mainbarcold.bmp[10]
> mainbarcold.bmp[10]
> }
>

I did not test it (IMHO I see It cannot work!) sad smiley

So try:

Browser Con&figuration(24,24){
Options{
ID_PREFERENCES|Compact Menu
View Preferences. Right-click to view Compact Menu.
hottool.bmp[37]
coldtool.bmp[37]
deadtool.bmp[37]
}

}


It creates a complete bar - including translation (if You use e.g. it-IT, es-ES or de-DE versions). Now IF the auto translation works all the supported features work grinning smiley - When I test skins - I just hold the mouse over and look - does it translate each button to German or no? ). Only a few skins for 1.1 a& 1.5 done by en-US coders recently do not translate all / since the PPl also recoded some texts and cannot see it with an English browser tongue sticking out smiley

This means = all features supported by the 1.1 - 1.5 macro's kmm and kml do work.
If part of the macros did not work all & fails this would show an English button text on mouse over. This failing is usually caused by pre 1.1. code that remained or the skinner used an alternative text (& that is wrong for all except en-US).

You need to correct the size 24,24 and BMP-pictures that I used.

This download will give You an old skin with the tested button code and 2 other buttons = JSconsole and Source Code.

Make sure to scan this handout like all downloaded files for viruses.

Greetings to IT & ES from DE



Edited 3 time(s). Last edit at 10/08/2008 03:22PM by guenter.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.