From: Kevin A. <ka...@us...> - 2004-05-05 16:54:05
|
Update of /cvsroot/pythoncard/PythonCard/samples/minimalList In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28150/samples/minimalList Modified Files: minimalList.py minimalList.rsrc.py Log Message: removed on_menuFileExit_select, using Background on_exit_command instead Index: minimalList.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/minimalList/minimalList.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** minimalList.py 24 Apr 2004 21:09:19 -0000 1.7 --- minimalList.py 5 May 2004 16:53:26 -0000 1.8 *************** *** 101,107 **** print "on_list_keyDown: %d\n" % event.keyCode event.skip() - - def on_menuFileExit_select(self, event): - self.close() --- 101,104 ---- Index: minimalList.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/minimalList/minimalList.rsrc.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** minimalList.rsrc.py 31 Aug 2003 17:53:01 -0000 1.2 --- minimalList.rsrc.py 5 May 2004 16:53:26 -0000 1.3 *************** *** 21,25 **** { 'type':'MenuItem', 'name':'menuFileExit', ! 'label':'E&xit\tAlt+X' } ] } ] }, --- 21,26 ---- { 'type':'MenuItem', 'name':'menuFileExit', ! 'label':'E&xit\tAlt+X', ! 'command':'exit' } ] } ] }, |