|
|
#1126 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2026
Device: kobo
|
oh sweet lord
|
|
|
|
|
|
#1127 |
|
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Aug 2023
Device: Kindle
|
Subject: Request: Add support for icon overrides / theming
Hi, Could you please add support for Calibre's built‑in icon theming in a future update? Currently your plugin uses a custom get_icon() function, which prevents users from overriding the toolbar icon with their own custom images or Calibre icon themes. The fix is simple: replace the custom function with Calibre's native get_icons(). For example: python # Instead of a custom get_icon() function... # Use Calibre's built-in function: from calibre.customize.zipplugin import get_icons icon = get_icons('icon.png', 'Your Plugin Name') self.qaction.setIcon(icon) This would allow users to place a custom icon.png in: calibre/resources/images/Your Plugin Name/icon.png And it would also make the plugin respect the user's active Calibre icon theme. Thank you for considering this. I really appreciate your work on this plugin. Thanks |
|
|
|
|
|
#1128 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,659
Karma: 33011292
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
|
|
|
|
|
#1129 |
|
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Aug 2023
Device: Kindle
|
Updating Plugin for Light/Dark themed icons
Hey,
i have updated the plugin to accepts themed custom icons custom icons should be placed in Preferences/calibre/resources/images/Job Spy on a mac and whatever the equivalent is for windows - this is the same location other plugins use for custom icons Custom icons must be named to match the original names with the addition of correct suffixes: job_spy-for-dark-theme.png job_spy-for-light-theme.png I have created 2 versions. the first just updates the plugin to accept light and dark theme custom icons. the second also changes the toolbar display name from "JS+" to "Job Spy" for those that prefer it. I have also included the icons i am using, but use whatever suits your theme To use the modified plugin, you need to load plugin from file in settings. At least until it is accepted into calibre's main plugin library. Here is the plugin with just icons update p.s. i have not changed or written any other part of the plugin other than the icons and name, so don't ask me any questions on other parts of the plugin |
|
|
|
|
|
#1130 |
|
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Aug 2023
Device: Kindle
|
Updating Plugin for Light/Dark themed icons & Display name
Here is the version that also changes the toolbar display name to Job Spy
|
|
|
|
|
|
#1131 |
|
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Aug 2023
Device: Kindle
|
Alternate icons
|
|
|
|
|
|
#1132 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,940
Karma: 82520964
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Did you change the plugin version number?
|
|
|
|
|
|
#1133 |
|
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Aug 2023
Device: Kindle
|
no, i forgot. where should i be changing it? within the py?
i have updated several plugins now and have posted 2 fixes so far, but wanted to see if i got a response before posting the remainder, which i am just using personally currently. let me know exactly what is needed and i will get it done. As long as these updates will actually go somewhere. i dont want to commit more time to this if they arent going to be used. thanks |
|
|
|
![]() |
| Tags |
| author aka, author pen name, colors, toolbag, toolbox, tools |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 535 | 04-30-2026 09:17 AM |
| [GUI Plugin] Ex Libris | AlPe | Plugins | 87 | 10-10-2020 03:10 PM |
| [GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
| Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) | DurgaPrasad | Calibre | 0 | 10-16-2013 06:50 AM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |