General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
"Reload All Tabs" from keyboard shortcut
Posted by: Mello
Date: August 04, 2020 10:39PM

How do I set this up please?

Options: ReplyQuote
Re: "Reload All Tabs" from keyboard shortcut
Posted by: JohnHell
Date: August 04, 2020 10:53PM

Add to accel.cfg in your profile folder (backup the file first), any key or key combination at your wish with the instructions here:
http://kmeleonbrowser.org/wiki/ConfigFiles#accel

as:

For K-meleon 75.0 and below:
chosen key or keycombo = macros(kTabs_ReloadAll)
For K-meleon 75.1 and above:
chosen key or keycombo = macros(_Reload_ReloadAll)

â–  to modify
â–  fixed



Edited 4 time(s). Last edit at 08/05/2020 12:38AM by JohnHell.

Options: ReplyQuote
Re: "Reload All Tabs" from keyboard shortcut
Posted by: siria
Date: August 04, 2020 11:54PM

Quote
JohnHell
chosen key or keycombo = macros(kTabs_ReloadAll)

Oh great - just wanted to check something about the button and didn't find it. Finally after doing a text-in-file search over whole KM folder it turned out:
This function has been renamed and moved to another macro kmm. And of course forgotten to adjust new name in other places... sad smiley

Until KM75.0 it's "macros(kTabs_ReloadAll)", defined in main.kmm
In KM75.1+76 it's "macros(_Reload_ReloadAll)", defined in reload.kmm

Still old name in commands list (Edit > Configuration > Commands List)
But also still old name in skins/default/skin.cfg, which sets the button icon, or was it menu icon?

It makes sense to define all reloading stuff in reload.kmm, and I see some menu lines were also moved over from main.kmm, to clean up. But considering that changing macro names will break a few things left and right, I'd rather have kept the same name in reload.kmm too :/

_Reload_ReloadAll{
macroinfo=_("Reload all tabs in the current window");
injectJS("location.reload()","alltabs");
}



Edited 1 time(s). Last edit at 08/05/2020 12:27AM by siria.

Options: ReplyQuote
Re: "Reload All Tabs" from keyboard shortcut
Posted by: JohnHell
Date: August 05, 2020 12:25AM

Quote
siria
This function has been renamed and moved to another macro kmm.
[...]
In KM1.6 it's "macros(kTabs_ReloadAll)", defined in main.kmm
In KM76 it's "macros(_Reload_ReloadAll)", defined in reload.kmm

Damn it, I can't give even easy advices confused smiley

From 75.1, btw. (you edited while I edited grinning smiley )

Quote
siria
It may make sense to define this in reload.kmm, but considering that changing macro names will break a few things left and right, I'd rather have kept the same macro name :/

Yeah, and to avoid make me look like dumb tongue sticking out smiley

Argh, anyway.

For general knowledge, search for the menu name in K-meleon root folder or profile folder (profile only macros, for example) and you'll find the macro binding with it, usually... (if it doesn't come from a kplugin).



Edited 3 time(s). Last edit at 08/05/2020 12:30AM by JohnHell.

Options: ReplyQuote
Re: "Reload All Tabs" from keyboard shortcut
Posted by: siria
Date: August 05, 2020 12:55AM

No way we could have known that, not our fault. But sorry when it hurts your feelings that I stumbled across this accidentally, perhaps try to imagine it would have been some guy.

Options: ReplyQuote
Re: "Reload All Tabs" from keyboard shortcut
Posted by: JohnHell
Date: August 05, 2020 01:16AM

Quote
siria
perhaps try to imagine it would have been some guy.




Options: ReplyQuote
Re: "Reload All Tabs" from keyboard shortcut
Posted by: Mello
Date: August 05, 2020 02:00AM

grinning smiley

Lovely thanks.

That was easy :drool: ... for me.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.