
$FreeBSD: head/devel/py-dialog/files/patch-dialog.py 308727 2012-12-12 01:13:40Z sobomax $

--- dialog.py.orig
+++ dialog.py
@@ -214,6 +214,10 @@
     "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),
+    "exit_label": lambda string: ("--exit-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 +528,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.
 
