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

Modified Files:
        childapp.py 
Log Message:
use popen from notifier and remove util.popen

Index: childapp.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/application/childapp.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** childapp.py 24 Jun 2005 21:56:14 -0000      1.2
--- childapp.py 28 Jun 2005 15:56:07 -0000      1.3
***************
*** 36,44 ****
  import logging
  
  # Freevo imports
  import sysconfig
  import config
  import eventhandler
- import util.popen
  import gui
  
--- 36,46 ----
  import logging
  
+ # kaa imports
+ import kaa.notifier
+ 
  # Freevo imports
  import sysconfig
  import config
  import eventhandler
  import gui
  
***************
*** 157,164 ****
  
  
! class Process(util.popen.Process):
      """
!     Process wrapping popen into the application callback. Also takes care
!     of basic event sending on start and stop.
      """
      def __init__(self, cmd, handler, prio=0, has_display=False):
--- 159,166 ----
  
  
! class Process(kaa.notifier.Process):
      """
!     Process wrapping a kaa notifier process into an application.
!     Also takes care of basic event sending on start and stop.
      """
      def __init__(self, cmd, handler, prio=0, has_display=False):
***************
*** 183,188 ****
  
        # start the process
!         util.popen.Process.__init__(self, cmd, logname,
!                                     callback=self.finished)
  
          # renice the process
--- 185,190 ----
  
        # start the process
!         kaa.notifier.Process.__init__(self, cmd, logname,
!                                       callback=self.finished)
  
          # renice the process
***************
*** 206,216 ****
  
  
-     def stop(self, cmd=''):
-         """
-         Stop the child (no wait)
-         """
-         util.popen.Process.stop(self, cmd, False)
- 
-         
      def stop_event(self):
          """
--- 208,211 ----



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to