General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
"Close Window" instead of "Close Tab"
Posted by: Robert
Date: August 09, 2008 12:18AM

Hi,
i installed K-Meleon 1.5 (I was using 1.1.6), but I have problems with those "New Window" and "Close Window" buttons: http://img230.imageshack.us/img230/9224/tabrh6.png

How can I change it to "New Tab" and "Close Tab", like it was in ver. 1.1.6???

Thanks in advance.

Ps. Sorry for my english.

Options: ReplyQuote
Re: "Close Window" instead of "Close Tab"
Posted by: desga2
Date: August 09, 2008 12:32AM

You must update to this code in your toolbars.cfg file in your skin folder (\K-Meleon\skins\<YourSkin>\toolbars.cfg):
Tab/&Window Buttons{
	New{
	%ifplugin tabs
	ID_NEW_TAB|New
	New Tab. Right-click for more options.
	%else
	ID_NEW_BROWSER
	New Window
	%endif
	layerwindowhot.bmp[2]
	layerwindowcold.bmp[2]
	}

	Close{
	%ifplugin tabs
	ID_CLOSE_TAB|Close
	Close Tab. Right-click for more options.
	%else
	ID_FILE_CLOSE|Close
	Close Window. Right-click for more options.
	%endif
	layerwindowhot.bmp[3]
	layerwindowcold.bmp[3]
	}
}
Note that in new 1.5 version there are tabs instead layers plugin.

K-Meleon in Spanish



Edited 1 time(s). Last edit at 08/09/2008 12:33AM by desga2.

Options: ReplyQuote
Re: "Close Window" instead of "Close Tab"
Posted by: Robert
Date: August 09, 2008 01:27AM

Thank You!
My "toolbars.cfg" file was very old (i forgot to upgrade it). I replaced it now with the new one (1.5) and it works perfect. Thank you very much.

Options: ReplyQuote
Re: "Close Window" instead of "Close Tab"
Posted by: datiswous
Date: August 11, 2008 09:06AM

If the skin you use is different, like for example boxed_classic, you need to edit it in a different way. So you can't yust copy above code from desga2.

code for boxed_classic :

Tab/&Window Buttons{

Prev{
%ifplugin tabs
ID_TAB_PREV|Prev
Previous tab. Right-click for more options.
%else
ID_WINDOW_PREV
Previous Window
%endif
rel.bmp[1]
toolmenu.bmp[36]
}

Next{
%ifplugin tabs
ID_TAB_NEXT|Next
Next tab. Right-click for more options.
%else
ID_WINDOW_NEXT
Next Window
%endif
rel.bmp[0]
toolmenu.bmp[35]
}

New{
%ifplugin tabs
ID_NEW_TAB|New
New Tab. Right-click for more options.
%else
ID_NEW_BROWSER
New Window
%endif
toolhot.bmp[41]
}

Close{
%ifplugin tabs
ID_CLOSE_TAB|Close
Close Tab. Right-click for more options.
%else
ID_FILE_CLOSE|Close
Close Window. Right-click for more options.
%endif
toolhot.bmp[42]

}

}

Maybe someone (Guenter?) can update this in the downloadable skin itself..



Edited 1 time(s). Last edit at 08/12/2008 06:36PM by datiswous.

Options: ReplyQuote
Re: "Close Window" instead of "Close Tab"
Posted by: desga2
Date: August 11, 2008 01:16PM

Please let us some time, we know that all skins must be updated to works with 1.5.
But this must be skin authors works not our work.

K-Meleon in Spanish

Options: ReplyQuote
Re: "Close Window" instead of "Close Tab"
Posted by: datiswous
Date: August 12, 2008 07:23AM

Yeah, you're right. I said Guenter becouse he did the last update.



Edited 1 time(s). Last edit at 08/12/2008 06:35PM by datiswous.

Options: ReplyQuote
Re: "Close Window" instead of "Close Tab"
Posted by: datiswous
Date: August 12, 2008 07:28AM

Yes. Alldough, if it is realy this easy allmost everyone can do it.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.