calibre/calibre-no-update.patch
2012-02-01 22:04:55 +04:00

21 lines
906 B
Diff

--- calibre/src/calibre/gui2/update.py~ 2011-03-25 19:30:09.000000000 -0600
+++ calibre/src/calibre/gui2/update.py 2011-03-28 13:19:55.986558857 -0600
@@ -86,12 +86,12 @@
class UpdateMixin(object):
- def __init__(self, opts):
- 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):
+ #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 update_found(self, version, force=False):
os = 'windows' if iswindows else 'osx' if isosx else 'linux'