This commit is contained in:
Kovid Goyal 2022-01-12 16:44:38 +05:30
parent 4e7bd412c1
commit 7ea7c8bfb9
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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(