View Single Post
Old 03-03-2025, 03:47 AM   #17
redbreast
Enthusiast
redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.redbreast turned on, tuned in, and dropped out.
 
redbreast's Avatar
 
Posts: 31
Karma: 35532
Join Date: Feb 2025
Device: Kindle Paperwhite 3
Question

Quote:
Originally Posted by kovidgoyal View Post
Yes as long as the plugin uses the get_icons() function and the icon theme has icons named plugin_name/icon_name.png it should work.
It seems not work. I try to modify the icon of a plugin named “Send to Kindle”. I check the original icon is '/Users/xxx/Library/Preferences/calibre/plugins/Send to Kindle/images/icon.png’. In my icon pack, I created a folder named “send_to_kindle” and placed “icon.png” in it. It’s not worked.

Then I installed the theme “Setenove Blue” which is an icon pack has customed the icon of “Kindle Collections” and I also installed this plugin, it’s not worked too. Something went wrong. Is it only work for other platforms? I only tested on macOS for now.

P1: original icon path of the plugin
P2: icon path in this icon theme
P3: get_icons() function in the plugin’s code
Attached Thumbnails
Click image for larger version

Name:	original path.png
Views:	51
Size:	25.8 KB
ID:	214050   Click image for larger version

Name:	icon pack path.png
Views:	51
Size:	21.8 KB
ID:	214051   Click image for larger version

Name:	get_icons.png
Views:	58
Size:	87.7 KB
ID:	214052  
redbreast is offline   Reply With Quote