]> git.pld-linux.org Git - packages/calibre.git/commitdiff
- updated no-update patch for 2.2.0
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 5 Sep 2014 21:55:41 +0000 (23:55 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 5 Sep 2014 21:55:41 +0000 (23:55 +0200)
calibre-no-update.patch

index 3a0e8d774d9407afc90cf898ded2b1cee607a9b4..84fb17dd008209a57c7eccca2f55041f0630cb88 100644 (file)
@@ -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,
This page took 0.140623 seconds and 4 git commands to generate.