|
From: Kevin A. <ka...@us...> - 2004-05-05 16:54:04
|
Update of /cvsroot/pythoncard/PythonCard/samples/counter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28150/samples/counter Modified Files: counter.py counter.rsrc.py Log Message: removed on_menuFileExit_select, using Background on_exit_command instead Index: counter.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/counter/counter.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** counter.py 24 Apr 2004 21:09:17 -0000 1.6 --- counter.py 5 May 2004 16:53:25 -0000 1.7 *************** *** 18,24 **** class Counter(model.Background): - def on_menuFileExit_select(self, event): - self.close() - def on_menuCounterIncrement_select(self, event): startValue = int(self.components.field1.text) --- 18,21 ---- Index: counter.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/counter/counter.rsrc.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** counter.rsrc.py 11 Jul 2002 01:27:08 -0000 1.5 --- counter.rsrc.py 5 May 2004 16:53:25 -0000 1.6 *************** *** 16,19 **** --- 16,20 ---- 'name':'menuFileExit', 'label':'E&xit\tAlt+X', + 'command':'exit', }, ] |