View Single Post
Old 04-13-2011, 01:44 PM   #58
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
kiwidude: Go ahead and add it to calibre, I am swamped at the moment with trying to finish the 0.8 code and keeping the weekly release cycle going. Here is how I see it working:

1) Add a button to Preferences->Plugins (probably next to the Add a new plugin button) called check for updates which will launch the dialog in "update available" mode

2) Keep it as an action, so that people that want it can add it to the toolbar/menubar.

3) Add some code to gui2.update to check for new plugins periodically/on startup. If a new plugins are found, notify the user, like the new version notification. Maintain a history of notifications so we dont notify the user repeatedly for the same update.

4) If gui2.update finds updates, change the text/icon of the plugin.qaction accordingly.

Feel free to suggest modifications to this scheme.
kovidgoyal is offline   Reply With Quote