|
|
#331 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37
Karma: 39966
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 |
|
|
|
|
|
#332 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,770
Karma: 64144480
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You have asked this for many of the plugins done by B Dalton.
The answer is still the same. Please look at the PI Author in Preferences: Get Plugins or the first post for that plugin. Unless you volunteer to take on those PI, it probably won't happen after all this time |
|
|
|
|
|
#333 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37
Karma: 39966
Join Date: Aug 2023
Device: Kindle
|
Updating Plugin for Light/Dark themed icons
ok, i have updated the plugin to accepts themed custom icons
custom icons should be placed in Preferences/calibre/resources/images/MultiColumnSearch 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: mcssmallicon-for-light-theme.png mcssmallicon-for-dark-theme.png mcsicon-for-light-theme.png mcsicon-for-dark-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 "MCS" to "Search" for those that prefer it. I have also included the icons i am using, but use whatever suits your theme |
|
|
|
|
|
#334 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37
Karma: 39966
Join Date: Aug 2023
Device: Kindle
|
Version 2 - Toolbar display name "MCS"
sorry the first one is the display name "Search"
here is the original "MCS" toolbar display name |
|
|
|
![]() |
| Tags |
| columns, search |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Search the Internet | kiwidude | Plugins | 438 | 02-22-2026 04:43 PM |
| [GUI Plugin] Clipboard Search | kiwidude | Plugins | 30 | 02-09-2026 09:06 AM |
| [GUI Plugin] Walk Search History | kiwidude | Plugins | 39 | 02-09-2026 07:27 AM |
| [GUI Plugin] Recoll Full Text Search | Satas | Plugins | 16 | 08-05-2016 03:54 AM |
| [GUI Plugin] Full Text Search (SOLR) | peterpisljar | Plugins | 2 | 08-09-2015 08:16 AM |