packages: calibre/calibre-no-update.patch (NEW) - disable automatic updates...
lisu
lisu at pld-linux.org
Thu May 20 20:10:11 CEST 2010
Author: lisu Date: Thu May 20 18:10:11 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- disable automatic updates (from fc)
---- Files affected:
packages/calibre:
calibre-no-update.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/calibre/calibre-no-update.patch
diff -u /dev/null packages/calibre/calibre-no-update.patch:1.1
--- /dev/null Thu May 20 20:10:11 2010
+++ packages/calibre/calibre-no-update.patch Thu May 20 20:10:06 2010
@@ -0,0 +1,20 @@
+diff -up calibre/src/calibre/gui2/ui.py.no_update calibre/src/calibre/gui2/ui.py
+--- calibre/src/calibre/gui2/ui.py.no_update 2009-12-06 23:21:12.298917664 +0200
++++ calibre/src/calibre/gui2/ui.py 2009-12-06 23:21:18.054898861 +0200
+@@ -226,11 +226,11 @@ class Main(MainWindow, Ui_MainWindow, De
+ self.latest_version = ' '
+ self.vanity.setText(self.vanity_template%dict(version=' ', device=' '))
+ self.device_info = ' '
+- if not opts.no_update_check:
+- self.update_checker = CheckForUpdates(self)
+- QObject.connect(self.update_checker,
+- SIGNAL('update_found(PyQt_PyObject)'), self.update_found)
+- self.update_checker.start(2000)
++ # if not opts.no_update_check:
++ # self.update_checker = CheckForUpdates(self)
++ # QObject.connect(self.update_checker,
++ # SIGNAL('update_found(PyQt_PyObject)'), self.update_found)
++ # self.update_checker.start(2000)
+ ####################### Status Bar #####################
+ self.status_bar = StatusBar(self.jobs_dialog, self.system_tray_icon)
+ self.setStatusBar(self.status_bar)
================================================================
More information about the pld-cvs-commit
mailing list