[packages/calibre] - updated no-update patch for 2.2.0
baggins
baggins at pld-linux.org
Fri Sep 5 23:56:17 CEST 2014
commit b2c8f6e40ae32f00fa832d894e180501afe77380
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Sep 5 23:55:41 2014 +0200
- updated no-update patch for 2.2.0
calibre-no-update.patch | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/calibre-no-update.patch b/calibre-no-update.patch
index 3a0e8d7..84fb17d 100644
--- a/calibre-no-update.patch
+++ b/calibre-no-update.patch
@@ -13,24 +13,23 @@ diff -uNr calibre.old/src/calibre/gui2/ui.py calibre/src/calibre/gui2/ui.py
diff -uNr calibre.old/src/calibre/gui2/update.py calibre/src/calibre/gui2/update.py
--- calibre.old/src/calibre/gui2/update.py 2011-06-26 19:51:17.913975852 +0200
+++ calibre/src/calibre/gui2/update.py 2011-06-26 19:56:50.608665533 +0200
-@@ -121,13 +121,13 @@
+@@ -121,12 +121,13 @@
+ pass
- class UpdateMixin(object):
-
-- def __init__(self, opts):
+ def init_update_mixin(self, opts):
- self.last_newest_calibre_version = NO_CALIBRE_UPDATE
- 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):
+ #self.last_newest_calibre_version = NO_CALIBRE_UPDATE
+ #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()
++ return
def recalc_update_label(self, number_of_plugin_updates):
self.update_found('%s%s%d'%(self.last_newest_calibre_version, VSEP,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/calibre.git/commitdiff/6fa79409f816155a1a32dd1b2355366017c2f764
More information about the pld-cvs-commit
mailing list