summaryrefslogtreecommitdiffstats
path: root/devel/py-dialog/files/patch-dialog.py
blob: b2fe0cd850c10bb076caa750a1833bcf66b41a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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.
 
OpenPOWER on IntegriCloud