From ddcd2d3a0c07787a0a6971422fd8f25b2282225e 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 401b157df3..d77605fafa 100644 --- a/src/calibre/gui2/actions/__init__.py +++ b/src/calibre/gui2/actions/__init__.py @@ -229,7 +229,7 @@ def create_menu_action(self, menu, unique_name, text, icon=None, shortcut=None, 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 @@ def __call__(self, callback, payload, html_log, log_viewer_title, title, :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(