Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 01-31-2026, 07:39 PM   #1126
neosilee
Junior Member
neosilee began at the beginning.
 
neosilee's Avatar
 
Posts: 2
Karma: 10
Join Date: Jan 2026
Device: kobo
oh sweet lord
neosilee is offline   Reply With Quote
Old 04-29-2026, 03:16 PM   #1127
gurcha
Enthusiast
gurcha began at the beginning.
 
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
gurcha is offline   Reply With Quote
Old 04-29-2026, 05:28 PM   #1128
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,659
Karma: 33011292
Join Date: Mar 2012
Location: Sydney Australia
Device: none
See ==>> https://www.mobileread.com/forums/sh...0&postcount=60
BetterRed is offline   Reply With Quote
Old Yesterday, 08:05 PM   #1129
gurcha
Enthusiast
gurcha began at the beginning.
 
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
Attached Thumbnails
Click image for larger version

Name:	job_spy-for-dark-theme.png
Views:	3
Size:	125.0 KB
ID:	223256   Click image for larger version

Name:	job_spy-for-light-theme.png
Views:	2
Size:	126.5 KB
ID:	223257  
Attached Files
File Type: zip Job Spy.zip (822.8 KB, 2 views)
gurcha is offline   Reply With Quote
Old Yesterday, 08:07 PM   #1130
gurcha
Enthusiast
gurcha began at the beginning.
 
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
Attached Thumbnails
Click image for larger version

Name:	job_spy-for-dark-theme.png
Views:	3
Size:	125.0 KB
ID:	223259   Click image for larger version

Name:	job_spy-for-light-theme.png
Views:	2
Size:	126.5 KB
ID:	223260  
Attached Files
File Type: zip Job Spy.zip (822.8 KB, 3 views)
gurcha is offline   Reply With Quote
Old Yesterday, 08:08 PM   #1131
gurcha
Enthusiast
gurcha began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Aug 2023
Device: Kindle
Alternate icons
Attached Thumbnails
Click image for larger version

Name:	job_spy-for-dark-theme.png
Views:	2
Size:	159.4 KB
ID:	223261   Click image for larger version

Name:	job_spy-for-light-theme.png
Views:	1
Size:	161.5 KB
ID:	223262  
gurcha is offline   Reply With Quote
Old Yesterday, 08:42 PM   #1132
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,940
Karma: 82520964
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Did you change the plugin version number?
PeterT is offline   Reply With Quote
Old Today, 04:17 AM   #1133
gurcha
Enthusiast
gurcha began at the beginning.
 
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
gurcha is offline   Reply With Quote
Reply

Tags
author aka, author pen name, colors, toolbag, toolbox, tools


Forum Jump

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


All times are GMT -4. The time now is 09:08 AM.


MobileRead.com is a privately owned, operated and funded community.