Add two missed options recognised by cdialog(1).

This commit is contained in:
Maxim Sobolev 2004-11-14 16:44:50 +00:00
parent a76957818b
commit 7f0b72e6ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121577
2 changed files with 12 additions and 2 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= dialog
PORTVERSION= 2.7
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pythondialog

View File

@ -1,9 +1,18 @@
$FreeBSD$
--- dialog.py
--- dialog.py.orig
+++ dialog.py
@@ -524,7 +524,7 @@
@@ -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 @@
"""