@DiapDealer,
We could change Sigil/src/Misc/Plugin.cpp to check for and load the icon file once on initial startup and then for the appropriate Qt action related to plugins in MainWindow use the setIcon to set the plugin's icon.
We could require a 48x48 png and look in the root of the plugin folder for a file called plugin.png.
Looks doable to me. What do you think?
Or should we require a plugin.svg file and go for vector icons?
|