View Single Post
Old 07-20-2022, 03:01 PM   #370
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,024
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2022-07-20
- Use cal6 icon theme system to allow plugin icon customization--but don't require pluginname/images/

EpubSplit only has one custom icon, but it uses several of the 'standard' Calibre icons. Now it should use installed icon themes and icon themes can include a custom icon for EpubSplit specifically (EpubSplit/icon.png). Only for Calibre 6+.

Note that until Cal 6.2 comes out, you will see extra stacktraces ending with KeyError: "There is no item named 'icon.png' in the archive" if you run Calibre in debug.

Last edited by JimmXinu; 07-31-2022 at 11:00 AM. Reason: Remove obsolete test version
JimmXinu is offline   Reply With Quote