From: Kevin A. <ka...@us...> - 2004-05-05 16:54:07
|
Update of /cvsroot/pythoncard/PythonCard/samples/pictureViewer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28150/samples/pictureViewer Modified Files: pictureViewer.py pictureViewer.rsrc.py Log Message: removed on_menuFileExit_select, using Background on_exit_command instead Index: pictureViewer.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/pictureViewer/pictureViewer.rsrc.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pictureViewer.rsrc.py 9 Jun 2002 16:54:10 -0000 1.1 --- pictureViewer.rsrc.py 5 May 2004 16:53:28 -0000 1.2 *************** *** 30,34 **** { 'type':'MenuItem', 'name':'menuFileExit', ! 'label':'E&xit\tAlt+X' } ] }, { 'type':'Menu', 'name':'menuEdit', --- 30,35 ---- { 'type':'MenuItem', 'name':'menuFileExit', ! 'label':'E&xit\tAlt+X', ! 'command':'exit' } ] }, { 'type':'Menu', 'name':'menuEdit', Index: pictureViewer.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/pictureViewer/pictureViewer.py,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** pictureViewer.py 25 Apr 2004 23:12:46 -0000 1.20 --- pictureViewer.py 5 May 2004 16:53:28 -0000 1.21 *************** *** 233,239 **** self.components.bufOff.clear() - def on_menuFileExit_select(self, event): - self.close() - # decided not to use sizers # but leaving this in on the chance --- 233,236 ---- |