Author: tack
Date: Sat Feb 2 17:48:56 2008
New Revision: 3016
Log:
New method set_restart_when_active. Using the restart_when_active member
directly is deprecated. This makes it consistent with the other behaviour
modifier methods in Callback (e.g. set_user_args_first, etc.)
Modified:
trunk/base/src/notifier/timer.py
Modified: trunk/base/src/notifier/timer.py
==============================================================================
--- trunk/base/src/notifier/timer.py (original)
+++ trunk/base/src/notifier/timer.py Sat Feb 2 17:48:56 2008
@@ -50,6 +50,10 @@
self._interval = None
+ def set_resart_when_active(self, restart):
+ self.restart_when_active = restart
+
+
def start(self, interval):
if not is_mainthread():
return MainThreadCallback(self.start, interval)()
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog