Update of /cvsroot/pythoncard/PythonCard/samples/life
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/samples/life
Modified Files:
life.py
Log Message:
reversed message and title args for multipleChoiceDialog,
singleChoiceDialog, textEntryDialog
added singleChoiceDialog workaround for 2.5.2.7
added Alex to LICENSE.txt
Index: life.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/life/life.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** life.py 14 Aug 2004 07:57:39 -0000 1.40
--- life.py 15 Aug 2004 17:34:56 -0000 1.41
***************
*** 383,387 ****
if automata == 'menuAutomataLife':
! result = dialog.textEntryDialog(self, 'Number of steps', 'Steps (-1 means continuous):', '-1')
if result.accepted:
steps = int(result.text)
--- 383,387 ----
if automata == 'menuAutomataLife':
! result = dialog.textEntryDialog(self, 'Steps (-1 means continuous):', 'Number of steps', '-1')
if result.accepted:
steps = int(result.text)
|