summaryrefslogtreecommitdiff
path: root/devel/py-dialog/files/patch-dialog.py
blob: 06cb0ef2bf77a421edf3c71e7864e25c726bc3c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$FreeBSD$

--- dialog.py.orig
+++ dialog.py
@@ -214,6 +214,8 @@
     "create_rc": lambda file: ("--create-rc", file),
     "defaultno": lambda enable: _simple_option("--defaultno", enable),
     "default_item": lambda string: ("--default-item", 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 +526,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.