Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29264/src

Modified Files:
        eventhandler.py plugin.py 
Log Message:
update to new kaa.notifier

Index: eventhandler.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/eventhandler.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** eventhandler.py     4 Jul 2005 15:37:15 -0000       1.26
--- eventhandler.py     13 Jul 2005 19:28:39 -0000      1.27
***************
*** 182,186 ****
          self.__idle_time = 0
          # callback to inherit idle time every minute
!         kaa.notifier.addTimer(60000, self.__update_idle_time)
          
  
--- 182,186 ----
          self.__idle_time = 0
          # callback to inherit idle time every minute
!         kaa.notifier.Timer(self.__update_idle_time).start(60000)
          
  

Index: plugin.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugin.py,v
retrieving revision 1.91
retrieving revision 1.92
diff -C2 -d -r1.91 -r1.92
*** plugin.py   8 Jul 2005 18:59:04 -0000       1.91
--- plugin.py   13 Jul 2005 19:28:39 -0000      1.92
***************
*** 87,91 ****
          if self.__class__.shutdown != Plugin.shutdown:
              # plugin has a self defined shutdown function
!             kaa.notifier.addShutdown( self.shutdown )
  
  
--- 87,91 ----
          if self.__class__.shutdown != Plugin.shutdown:
              # plugin has a self defined shutdown function
!             kaa.notifier.signals['shutdown'].connect( self.shutdown )
  
  
***************
*** 177,181 ****
          if self.__class__.poll != DaemonPlugin.poll:
              # plugin has a self defined poll function, register it
!             kaa.notifier.addTimer( self.poll_interval, self.__poll )
  
          if self.__class__.eventhandler != DaemonPlugin.eventhandler:
--- 177,181 ----
          if self.__class__.poll != DaemonPlugin.poll:
              # plugin has a self defined poll function, register it
!             self.__timer = 
kaa.notifier.Timer(self.__poll).start(self.poll_interval)
  
          if self.__class__.eventhandler != DaemonPlugin.eventhandler:



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to