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

Modified Files:
        childapp.py 
Log Message:
correct xine bug in a better way

Index: childapp.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/application/childapp.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** childapp.py 20 Jul 2005 18:13:55 -0000      1.7
--- childapp.py 21 Jul 2005 17:10:32 -0000      1.8
***************
*** 155,159 ****
          when the child is finished.
          """
!         pass
  
  
--- 155,161 ----
          when the child is finished.
          """
!         self.__child = None
!         if hasattr(self, 'item') and self.item:
!             PLAY_END.post(self.item)
  
  
***************
*** 207,228 ****
  
  
-     def stop_event(self):
-         """
-         Event to send on stop.
-         """
-         if hasattr(self.handler, 'item'):
-             return Event(PLAY_END, self.handler.item)
-         return None
- 
- 
      def finished(self):
          """
!         Send stop event when child is finished.
          """
-         event = self.stop_event()
-         if event:
-             event.post()
          if self.has_display:
              gui.display.show()
-         self.handler.child_stop()
          self.handler.child_finished()
--- 209,217 ----
  
  
      def finished(self):
          """
!         Callback when child is finished.
          """
          if self.has_display:
              gui.display.show()
          self.handler.child_finished()



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