Quote:
Originally Posted by BetterRed
Curious - why didn't you use same model - i.e. 'select the files' then 'apply the tool' - in the calibre PI.
|
The plugin framework is just entirely different, is all. Calibre
IS Python. Sigil runs Python as an entirely separate process for its plugins.
That... and this plugin was just written before Sigil even
had a viable plugin framework. And I've gotten away from my calibre plugins a bit since I started helping with maintaining and improving Sigil. To be honest ... I have absolutely no idea if calibre's editor Tool has a "
which html files are currently selected" function (though I'd be surprised if it didn't).
I'd have done this plugin differently if I had it to do over, but I just don't have the time or inclination to completely overhaul a working plugin. So I tweak what I can do quickly/easily and punt on anything that involves much refactoring. *shrug*
Quote:
Originally Posted by BetterRed
Added : there's little point in me reordering the tool bar icons, given I don't want to use tool bars.
|
I was sort of wondering about that.