From: Kevin A. <ka...@us...> - 2004-08-30 14:50:29
|
Update of /cvsroot/pythoncard/PythonCard/samples/jabberChat In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14090/samples/jabberChat Modified Files: jabberChat.py Log Message: converted wx.Timer references to timer.Timer and fixed case of methods Index: jabberChat.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/jabberChat/jabberChat.py,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** jabberChat.py 12 Aug 2004 19:18:53 -0000 1.32 --- jabberChat.py 30 Aug 2004 14:49:51 -0000 1.33 *************** *** 6,10 **** """ ! from PythonCard import configuration, model, sound import threading import Queue --- 6,10 ---- """ ! from PythonCard import configuration, model, sound, timer import threading import Queue *************** *** 41,46 **** self.thread.start() ! self.idleTimer = wx.Timer(self.components.listRoster, -1) ! self.idleTimer.Start(1000) # 1 second self.doResetIdle() --- 41,46 ---- self.thread.start() ! self.idleTimer = timer.Timer(self.components.listRoster, -1) ! self.idleTimer.start(1000) # 1 second self.doResetIdle() *************** *** 303,306 **** --- 303,307 ---- except: pass + self.idleTimer.stop() event.skip() |