View Single Post
Old 04-05-2021, 05:14 AM   #499
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Version 1.6.2
  • Fix: Template Scopes: Discard book ids not currently present in library.
  • Minor changes to the icons.

Since not everyone is going to be satisfied with whatever icons I choose, the best solution for those who want to change icons is to override the stock icons by putting their icons of choice in these locations:

Code:
{Calibre Config Directory}/resources/images/Action Chains/condition.png
{Calibre Config Directory}/resources/images/Action Chains/no_condition.png
{Calibre Config Directory}/resources/images/Action Chains/scope.png
{Calibre Config Directory}/resources/images/Action Chains/no_scope.png
{Calibre Config Directory}/resources/images/Action Chains/scope_unsupported.png
The last scope_unsupported.png in the plugin itself is a completely transparent png image, so by default you will not see any icon for actions that do not support scopes. If you want an icon that indicates the action does not support scopes, override it the location outlined above.

Same technique can be used if you want certain state to show no icons, you simply override the target icon with a transparent png (e.g. if you want the no_condition icon to not show like before, override it with a transparent png)
capink is offline   Reply With Quote