diff --git a/src/calibre/gui2/__init__.py b/src/calibre/gui2/__init__.py index 84a6470084..a7806a00c8 100644 --- a/src/calibre/gui2/__init__.py +++ b/src/calibre/gui2/__init__.py @@ -393,18 +393,18 @@ def error_dialog(parent, title, msg, det_msg='', show=False, def question_dialog(parent, title, msg, det_msg='', show_copy_button=False, - default_yes=True, - # Skippable dialogs - # Set skip_dialog_name to a unique name for this dialog - # Set skip_dialog_msg to a message displayed to the user - skip_dialog_name=None, skip_dialog_msg=_('Show this confirmation again'), - skip_dialog_skipped_value=True, skip_dialog_skip_precheck=True, - # Override icon (QIcon to be used as the icon for this dialog or string for I()) - override_icon=None, - # Change the text/icons of the yes and no buttons. - # The icons must be QIcon objects or strings for I() - yes_text=None, no_text=None, yes_icon=None, no_icon=None, - ): + default_yes=True, + # Skippable dialogs + # Set skip_dialog_name to a unique name for this dialog + # Set skip_dialog_msg to a message displayed to the user + skip_dialog_name=None, skip_dialog_msg=_('Show this confirmation again'), + skip_dialog_skipped_value=True, skip_dialog_skip_precheck=True, + # Override icon (QIcon to be used as the icon for this dialog or string for I()) + override_icon=None, + # Change the text/icons of the yes and no buttons. + # The icons must be QIcon objects or strings for I() + yes_text=None, no_text=None, yes_icon=None, no_icon=None, +): from calibre.gui2.dialogs.message_box import MessageBox if not isinstance(skip_dialog_name, unicode_type):