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

Modified Files:
        childapp.py mplayer.py 
Log Message:
handle exit code for kaa.notifier Process

Index: childapp.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/application/childapp.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** childapp.py 6 Aug 2005 09:15:12 -0000       1.13
--- childapp.py 6 Aug 2005 14:30:33 -0000       1.14
***************
*** 116,121 ****
          self.__child.signals["stdout"].connect(self.child_stdout)
          self.__child.signals["stderr"].connect(self.child_stderr)
-         if self.has_display:
-             self.__child.signals["completed"].connect(gui.display.show)
          self.__child.signals["completed"].connect(self.child_finished)
  
--- 116,119 ----
***************
*** 181,189 ****
  
  
!     def child_finished(self):
          """
          Callback when the child is finished. Override this method to react
          when the child is finished.
          """
          if self.__class__.child_finished == Application.child_finished and \
                 hasattr(self, 'item') and self.item:
--- 179,189 ----
  
  
!     def child_finished(self, exit_code):
          """
          Callback when the child is finished. Override this method to react
          when the child is finished.
          """
+         if self.has_display:
+             gui.display.show()
          if self.__class__.child_finished == Application.child_finished and \
                 hasattr(self, 'item') and self.item:

Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/application/mplayer.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** mplayer.py  5 Aug 2005 18:08:28 -0000       1.9
--- mplayer.py  6 Aug 2005 14:30:33 -0000       1.10
***************
*** 174,183 ****
  
  
!     def child_finished(self):
          """
          Callback when the child is finished. Override this method to react
          when the child is finished.
          """
!         childapp.Application.child_finished(self)
          event = Event(PLAY_END, self.__stop_reason)
          event.set_handler(self.eventhandler)
--- 174,183 ----
  
  
!     def child_finished(self, exit_code):
          """
          Callback when the child is finished. Override this method to react
          when the child is finished.
          """
!         childapp.Application.child_finished(self, exit_code)
          event = Event(PLAY_END, self.__stop_reason)
          event.set_handler(self.eventhandler)



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to