gnu: Add kafs-client
[jackhill/guix/guix.git] / gnu / packages / patches / calibre-no-updates-dialog.patch
CommitLineData
5d53eec3
BT
1From 19e8d7701c302b0eca4c638705a6db625352caa3 Mon Sep 17 00:00:00 2001
2From: Brendan Tildesley <mail@brendan.scot>
3Date: Thu, 25 Feb 2021 12:17:30 +1100
4Subject: [PATCH] Don't check for updates.
b655b215 5
5d53eec3
BT
6---
7 src/calibre/gui2/main.py | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py
11index 776f8bebfb..4302716d7e 100644
12--- a/src/calibre/gui2/main.py
13+++ b/src/calibre/gui2/main.py
14@@ -59,8 +59,8 @@ def option_parser():
b655b215
AE
15 help=_('Start minimized to system tray.'))
16 parser.add_option('-v', '--verbose', default=0, action='count',
17 help=_('Ignored, do not use. Present only for legacy reasons'))
18- parser.add_option('--no-update-check', default=False, action='store_true',
19- help=_('Do not check for updates'))
20+ parser.add_option('--update-check', dest='no_update_check', default=True, action='store_false',
21+ help=_('Check for updates'))
22 parser.add_option('--ignore-plugins', default=False, action='store_true',
23 help=_('Ignore custom plugins, useful if you installed a plugin'
24 ' that is preventing calibre from starting'))
5d53eec3
BT
25--
262.30.1