$FreeBSD: ports/devel/py-dialog/files/patch-dialog.py,v 1.3 2005/10/11 20:55:44 sobomax Exp $ --- dialog.py.orig +++ dialog.py @@ -214,6 +214,9 @@ "create_rc": lambda file: ("--create-rc", file), "defaultno": lambda enable: _simple_option("--defaultno", enable), "default_item": lambda string: ("--default-item", string), + "yes_label": lambda string: ("--yes-label", string), + "no_label": lambda string: ("--no-label", string), + "extra_button": lambda enable: _simple_option("--extra-button", enable), "help": lambda enable: _simple_option("--help", enable), "help_button": lambda enable: _simple_option("--help-button", enable), "help_label": lambda string: ("--help-label", string), @@ -524,7 +527,7 @@ """ - def __init__(self, dialog="dialog", DIALOGRC=None, compat="dialog", + def __init__(self, dialog="cdialog", DIALOGRC=None, compat="dialog", use_stdout=None): """Constructor for Dialog instances.