Code: Select all
Force reload icons in button bars and main menu
Moderators: Hacker, petermad, Stefan2, white
Code: Select all
Force reload icons in button bars and main menu
I think this indicates that it should work also for icons in the main menu.totalcmd.inc wrote:cm_ReloadBarIcons=2945;Force reload icons in button bars and main menu
Because, for me this is a (minor) bug.
As I said, the description is: "Force reload icons in button bars and main menu". IMHO, this is misleading/erroneous a little bit. But, again, this is minor... I am developer myself, so when I see things not okay, I report it.Horst.Epp wrote: 2024-07-13, 17:52 UTC There is no place in the help or any other place which says this should work.
Yes, this is what I use often to be sure to apply my changes.
Thanks, this is my minding.petermad wrote: 2024-07-13, 18:31 UTC I find it is reasonable to expect that if I reload a changed .mnu file and then use cm_ReloadBarIcons, the change should be reflected, as it is if I reload TC.
Yes, exactly. This is the use case. The only one that isn't working. Thank you very much to precise it. My original post was not complete. I will edit it.petermad wrote: 2024-07-13, 18:31 UTC This concerns menu files with icons for em_commands assigned in the icon library's .inc file (for example wcmicons.inc), after adding a new em_command to the menu file.
That is already how I roload the menu file after I have made changes to it - it does not re-sync the .mnu file with wcmicons.inc file.Could you try a button with
OPENLANGUAGEFILE wcmd_dan.lng
What do you mean with this? I tried the following:it does not re-sync the .mnu file with wcmicons.inc file.
We are not talking about the Start menu, but the Main menu - as I wrote "it does not re-sync the .mnu file" and as the subject of this topic says.Create a start menu entry with a command
Code: Select all
MENUITEM "Notepad", em_notepad
Code: Select all
10000=28
I know that.TC assigns them to internal em_commands in the order they are loaded. When there were other em_commands elsewhere before editing the mnu file
Aha, that explains it.they are cached until you close TC
Moderator message from: petermad » 2024-07-21, 17:07 UTC