From: Kevin A. <ka...@us...> - 2004-05-05 16:54:07
|
Update of /cvsroot/pythoncard/PythonCard/samples/moderator In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28150/samples/moderator Modified Files: moderator.py moderator.rsrc.py Log Message: removed on_menuFileExit_select, using Background on_exit_command instead Index: moderator.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/moderator/moderator.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** moderator.py 24 Apr 2004 21:09:19 -0000 1.2 --- moderator.py 5 May 2004 16:53:27 -0000 1.3 *************** *** 85,91 **** if self.components.txtTime.text != self.clockModel.readout(): self.components.txtTime.text = self.clockModel.readout() - - def on_menuFileExit_select(self, event): - self.close() class CountdownClockModel: --- 85,88 ---- Index: moderator.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/moderator/moderator.rsrc.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** moderator.rsrc.py 23 Apr 2004 14:08:45 -0000 1.1 --- moderator.rsrc.py 5 May 2004 16:53:27 -0000 1.2 *************** *** 17,20 **** --- 17,21 ---- 'name':'menuFileExit', 'label':'E&xit\tAlt+X', + 'command':'exit', }, ] |