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

Modified Files:
        rom_drives.py shutdown.py 
Log Message:
update to new kaa.notifier

Index: rom_drives.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/rom_drives.py,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -d -r1.95 -r1.96
*** rom_drives.py       9 Jul 2005 09:38:29 -0000       1.95
--- rom_drives.py       13 Jul 2005 19:28:41 -0000      1.96
***************
*** 692,696 ****
  
          # register callback
!         kaa.notifier.addTimer(2000, self.poll)
  
  
--- 692,696 ----
  
          # register callback
!         kaa.notifier.Timer(self.poll).start(2000)
  
  

Index: shutdown.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/shutdown.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** shutdown.py 5 Jul 2005 09:03:11 -0000       1.14
--- shutdown.py 13 Jul 2005 19:28:41 -0000      1.15
***************
*** 121,125 ****
          """
          self.show_gui_message(_('shutting down...'))
!         kaa.notifier.addTimer(1000, sys.exit, 0)
  
  
--- 121,125 ----
          """
          self.show_gui_message(_('shutting down...'))
!         kaa.notifier.OneShotTimer(sys.exit, 0).start(1000)
  
  
***************
*** 129,133 ****
          """
          self.show_gui_message(_('shutting down system...'))
!         kaa.notifier.addTimer(1000, os.system, config.SHUTDOWN_SYS_CMD)
  
  
--- 129,133 ----
          """
          self.show_gui_message(_('shutting down system...'))
!         kaa.notifier.OneShotTimer(os.system, 
config.SHUTDOWN_SYS_CMD).start(1000)
  
  
***************
*** 137,141 ****
          """
          self.show_gui_message(_('restarting system...'))
!         kaa.notifier.addTimer(1000, os.system, config.RESTART_SYS_CMD)
  
  
--- 137,141 ----
          """
          self.show_gui_message(_('restarting system...'))
!         kaa.notifier.OneShotTimer(os.system, 
config.RESTART_SYS_CMD).start(1000)
  
  



-------------------------------------------------------
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