]> git.pld-linux.org Git - packages/calibre.git/blame - calibre-no-update.patch
- updated BRs
[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
b2c8f6e4
JR
16@@ -121,12 +121,13 @@
17 pass
fa443427 18
b2c8f6e4 19 def init_update_mixin(self, opts):
d2cae8d3 20- self.last_newest_calibre_version = NO_CALIBRE_UPDATE
21- if not opts.no_update_check:
22- self.update_checker = CheckForUpdates(self)
23- self.update_checker.update_found.connect(self.update_found,
24- type=Qt.QueuedConnection)
25- self.update_checker.start()
d2cae8d3 26+ #self.last_newest_calibre_version = NO_CALIBRE_UPDATE
27+ #if not opts.no_update_check:
28+ # self.update_checker = CheckForUpdates(self)
29+ # self.update_checker.update_found.connect(self.update_found,
30+ # type=Qt.QueuedConnection)
31+ # self.update_checker.start()
b2c8f6e4 32+ return
d2cae8d3 33
34 def recalc_update_label(self, number_of_plugin_updates):
35 self.update_found('%s%s%d'%(self.last_newest_calibre_version, VSEP,
This page took 0.338829 seconds and 4 git commands to generate.