From: Kevin A. <ka...@us...> - 2004-05-05 16:54:04
|
Update of /cvsroot/pythoncard/PythonCard/samples/chat In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28150/samples/chat Modified Files: chat.py chat.rsrc.py Log Message: removed on_menuFileExit_select, using Background on_exit_command instead Index: chat.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/chat/chat.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** chat.py 24 Apr 2004 21:09:17 -0000 1.5 --- chat.py 5 May 2004 16:53:25 -0000 1.6 *************** *** 94,100 **** #print "after send" ! def on_menuFileExit_select(self, event): self.echoServer.keepRunning = 0 ! self.close() --- 94,100 ---- #print "after send" ! def on_close(self, event): self.echoServer.keepRunning = 0 ! event.skip() Index: chat.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/chat/chat.rsrc.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** chat.rsrc.py 12 Jun 2002 18:45:05 -0000 1.1 --- chat.rsrc.py 5 May 2004 16:53:25 -0000 1.2 *************** *** 16,19 **** --- 16,20 ---- 'name':'menuFileExit', 'label':'E&xit\tAlt+X', + 'command':'exit' }, ] |