From 62e7a7416a9e661e80e2ae6809581bd7a14ac2ff Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 12 Jan 2022 16:44:38 +0530 Subject: [PATCH] ... --- src/calibre/gui2/actions/__init__.py | 2 +- src/calibre/gui2/proceed.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/actions/__init__.py b/src/calibre/gui2/actions/__init__.py index a33293e424..ce2a096748 100644 --- a/src/calibre/gui2/actions/__init__.py +++ b/src/calibre/gui2/actions/__init__.py @@ -229,7 +229,7 @@ class InterfaceAction(QObject): an UUID to it. :param text: The text of the action. :param icon: Either a QIcon or a file name. The file name is passed to - the I() builtin, so you do not need to pass the full path to the images + the QIcon.ic() builtin, so you do not need to pass the full path to the images folder. :param shortcut: A string, a list of strings, None or False. If False, no keyboard shortcut is registered for this action. If None, a keyboard diff --git a/src/calibre/gui2/proceed.py b/src/calibre/gui2/proceed.py index ef2269c397..0251638bdf 100644 --- a/src/calibre/gui2/proceed.py +++ b/src/calibre/gui2/proceed.py @@ -352,7 +352,7 @@ class ProceedQuestion(QWidget): :param focus_action: If True, the action button will be focused instead of the Yes button :param show_det: If True, the Detailed message will be shown initially :param show_ok: If True, OK will be shown instead of YES/NO - :param icon: The icon to be used for this popop (defaults to question mark). Can be either a QIcon or a string to be used with I() + :param icon: The icon to be used for this popop (defaults to question mark). Can be either a QIcon or a string to be used with QIcon.ic() :log_viewer_unique_name: If set, ViewLog will remember/reuse its size for this name in calibre.gui2.gprefs ''' question = Question(