Add support for the --exit-label option.
This commit is contained in:
parent
508b2a1ebc
commit
7266679e97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308727
2 changed files with 4 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
PORTNAME= dialog
|
||||
PORTVERSION= 2.7
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= SF/python${PORTNAME}/python${PORTNAME}/${PORTVERSION}
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
@ -3,17 +3,18 @@ $FreeBSD$
|
|||
|
||||
--- dialog.py.orig
|
||||
+++ dialog.py
|
||||
@@ -214,6 +214,9 @@
|
||||
@@ -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 +527,7 @@
|
||||
@@ -524,7 +528,7 @@
|
||||
|
||||
"""
|
||||
|
||||
|
|
Loading…
Reference in a new issue