Quote:
Originally Posted by kovidgoyal
|
This doesn't work for me, but perhaps I am doing something wrong.
My steps:
- I grabbed interface_demo.zip and built it. I see the 'sun' icon. It uses
Code:
icon = get_icons('images/icon.png', 'Interface Plugin Demo')
to fetch the icon.
- I created a directory in my config 'resources\images\Interface Plugin Demo\images'.
- I put a different 'icon.png' into that directory. Running calibre, I see that different icon.
- I put 'icon-for-light-theme.png' in that directory and removed (renamed) 'icon.png'. I now see the default 'sun' icon.
Is this the expected behavior?