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

Modified Files:
        apod.py 
Log Message:
adjust to new kaa.notifier thread interface

Index: apod.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/image/plugins/apod.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** apod.py     9 Jul 2005 10:57:13 -0000       1.11
--- apod.py     5 Aug 2005 17:04:16 -0000       1.12
***************
*** 112,121 ****
          box = WaitBox(text=_('Getting picture, please wait'))
          box.show()
!         # callback for success
!         cb = Callback(self.__fetch_current_picture_finished, box)
!         # callback for exception
!         ex = Callback(self.__fetch_current_picture_error, box)
!         # start thread
!         Thread(self.__fetch_current_picture_thread).start(cb, ex)
  
  
--- 112,120 ----
          box = WaitBox(text=_('Getting picture, please wait'))
          box.show()
! 
!         thread = Thread(self.__fetch_current_picture_thread)
!         
thread.signals['completed'].connect(self.__fetch_current_picture_finished, box)
!         
thread.signals['exception'].connect(self.__fetch_current_picture_error, box)
!         thread.start()
  
  



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