Thread: Library names
View Single Post
Old 02-27-2011, 01:16 PM   #15
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,433
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Manichean View Post
I know the discussion has drifted a little, and I'm no developer, but I just had an idea re managing plugin config stored in the db: I don't know if there is one already, but shouldn't it be possible to add an uninstall function to plugins that gets called when the user selects to remove the plugin via the plugins dialog? That way, each plugin could (and should) clean up after itself before it gets removed.
That's a possibility, the problem is it is not very reliable. You can in principle "remove" a plugin by just deleting its zip file in the calibre config directory. In such a case calibre has no way to run plugin specific cleanup code.
kovidgoyal is offline   Reply With Quote