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(