]> git.pld-linux.org Git - packages/calibre.git/blame - calibre-no-update.patch
Up to 1.12.0
[packages/calibre.git] / calibre-no-update.patch
CommitLineData
d2cae8d3 1diff -uNr calibre.old/src/calibre/gui2/ui.py calibre/src/calibre/gui2/ui.py
2--- calibre.old/src/calibre/gui2/ui.py 2011-06-26 19:51:17.912975862 +0200
3+++ calibre/src/calibre/gui2/ui.py 2011-06-26 19:52:21.156346644 +0200
4@@ -647,7 +647,7 @@
5 if write_settings:
6 self.write_settings()
7 self.check_messages_timer.stop()
8- self.update_checker.terminate()
9+ # self.update_checker.terminate()
10 self.listener.close()
11 self.job_manager.server.close()
12 self.job_manager.threaded_server.close()
13diff -uNr calibre.old/src/calibre/gui2/update.py calibre/src/calibre/gui2/update.py
14--- calibre.old/src/calibre/gui2/update.py 2011-06-26 19:51:17.913975852 +0200
15+++ calibre/src/calibre/gui2/update.py 2011-06-26 19:56:50.608665533 +0200
16@@ -121,13 +121,13 @@
fa443427 17
d2cae8d3 18 class UpdateMixin(object):
eca1c34d 19
d2cae8d3 20- def __init__(self, opts):
21- self.last_newest_calibre_version = NO_CALIBRE_UPDATE
22- if not opts.no_update_check:
23- self.update_checker = CheckForUpdates(self)
24- self.update_checker.update_found.connect(self.update_found,
25- type=Qt.QueuedConnection)
26- self.update_checker.start()
27+ #def __init__(self, opts):
28+ #self.last_newest_calibre_version = NO_CALIBRE_UPDATE
29+ #if not opts.no_update_check:
30+ # self.update_checker = CheckForUpdates(self)
31+ # self.update_checker.update_found.connect(self.update_found,
32+ # type=Qt.QueuedConnection)
33+ # self.update_checker.start()
34
35 def recalc_update_label(self, number_of_plugin_updates):
36 self.update_found('%s%s%d'%(self.last_newest_calibre_version, VSEP,
This page took 0.04856 seconds and 4 git commands to generate.