View Single Post
Old 01-24-2017, 11:33 PM   #108
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,709
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BetterRed View Post
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 View Post
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.

Last edited by DiapDealer; 01-24-2017 at 11:36 PM.
DiapDealer is online now   Reply With Quote