From: Jan Rękorajski Date: Fri, 5 Sep 2014 21:55:41 +0000 (+0200) Subject: - updated no-update patch for 2.2.0 X-Git-Tag: auto/th/calibre-2.5.0-1~4 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=b2c8f6e40ae32f00fa832d894e180501afe77380;hp=516849bad501a99be7d135b7d469206ff3c7c273;p=packages%2Fcalibre.git - updated no-update patch for 2.2.0 --- 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,