calibre/calibre-no-update.patch

24 lines
1 KiB
Diff
Raw Normal View History

2012-02-02 00:20:04 +04:00
--- calibre/src/calibre/gui2/update.py~ 2011-09-09 10:46:16.000000000 -0600
+++ calibre/src/calibre/gui2/update.py 2011-09-13 13:39:52.629503202 -0600
@@ -120,13 +120,13 @@
2012-02-01 22:04:55 +04:00
class UpdateMixin(object):
- def __init__(self, opts):
2012-02-02 00:20:04 +04:00
- self.last_newest_calibre_version = NO_CALIBRE_UPDATE
2012-02-01 22:04:55 +04:00
- if not opts.no_update_check:
- self.update_checker = CheckForUpdates(self)
- self.update_checker.update_found.connect(self.update_found,
- type=Qt.QueuedConnection)
- self.update_checker.start()
+ #def __init__(self, opts):
2012-02-02 00:20:04 +04:00
+ #self.last_newest_calibre_version = NO_CALIBRE_UPDATE
2012-02-01 22:04:55 +04:00
+ #if not opts.no_update_check:
+ # self.update_checker = CheckForUpdates(self)
+ # self.update_checker.update_found.connect(self.update_found,
+ # type=Qt.QueuedConnection)
+ # self.update_checker.start()
2012-02-02 00:20:04 +04:00
def recalc_update_label(self, number_of_plugin_updates):
self.update_found('%s%s%d'%(self.last_newest_calibre_version, VSEP,