Hi,
In my fs plugin I use custom file icons. Sometimes I would like to be able to change the icon. Unfortunately FsExtractCustomIcon function isn't called when I force rereading the directory. Is there any possibility to flush the icon cache without changing displayed directory?
How to change the file icon?
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, unfortunately not - the icons are cached for speed reasons. If these are some sort of commands (not files), you may consider to change the text a bit, e.g. "option xyz (on)" to "option xyz (off)", then you can have different icons.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com