ports/devel/py-dialog3/files/patch-examples_demo.py
Jung-uk Kim 27157a10a0 pythondialog 3 is a Python 3 wrapper for the dialog utility originally
written by Savio Lam, and later rewritten by Thomas E. Dickey.  Its purpose
is to provide an easy to use, pythonic and comprehensive Python 3 interface
to dialog.  This allows one to make simple text-mode user interfaces on
Unix-like systems.

WWW: http://pythondialog.sourceforge.net/
2019-09-20 00:56:43 +00:00

11 lines
560 B
Python

--- examples/demo.py.orig 2016-05-07 16:38:28 UTC
+++ examples/demo.py
@@ -335,7 +335,7 @@ class MyApp:
# If you want to use Xdialog (pathnames are also OK for the 'dialog'
# argument), you can use:
# dialog.Dialog(dialog="Xdialog", compat="Xdialog")
- self.Dialog_instance = dialog.Dialog(dialog="dialog")
+ self.Dialog_instance = dialog.Dialog(dialog="cdialog")
# See the module docstring at the top of the file to understand the
# purpose of MyDialog.
d = MyDialog(self.Dialog_instance)