From: Kevin A. <ka...@us...> - 2004-05-05 16:54:07
|
Update of /cvsroot/pythoncard/PythonCard/samples/pysshed In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28150/samples/pysshed Modified Files: pysshed.py pysshed.rsrc.py Log Message: removed on_menuFileExit_select, using Background on_exit_command instead Index: pysshed.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/pysshed/pysshed.rsrc.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pysshed.rsrc.py 24 Apr 2004 06:49:47 -0000 1.3 --- pysshed.rsrc.py 5 May 2004 16:53:28 -0000 1.4 *************** *** 17,21 **** 'name':'menuFileExit', 'label':'E&xit\tAlt+X', ! 'command':'programExit', }, ] --- 17,21 ---- 'name':'menuFileExit', 'label':'E&xit\tAlt+X', ! 'command':'exit', }, ] *************** *** 65,69 **** 'name':'quitBtn', 'position':(270, 160), ! 'command':'programExit', 'label':'Quit', }, --- 65,69 ---- 'name':'quitBtn', 'position':(270, 160), ! 'command':'exit', 'label':'Quit', }, Index: pysshed.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/pysshed/pysshed.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** pysshed.py 24 Apr 2004 21:09:20 -0000 1.9 --- pysshed.py 5 May 2004 16:53:28 -0000 1.10 *************** *** 48,54 **** class pysshed(model.Background): - def on_programExit_command(self, event): - self.close() - def on_initialize(self, event): self.cfg = ConfigParser.ConfigParser() --- 48,51 ---- |