Update of /cvsroot/freevo/freevo/src/image In directory sc8-pr-cvs1:/tmp/cvs-serv32157
Modified Files: viewer.py Log Message: Fix a crash... When you are going through a bunch of images manually (up/down) when you reach the last image, it used to crash because the 'osd' object lacks a "drawstringframed" method. By sending the proper initialized object (self.osd) it works nicely instead showing the message over the image in the top right corner. Index: viewer.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/image/viewer.py,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** viewer.py 14 Dec 2003 17:46:02 -0000 1.38 --- viewer.py 15 Dec 2003 04:12:54 -0000 1.39 *************** *** 10,13 **** --- 10,21 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.39 2003/12/15 04:12:54 outlyer + # Fix a crash... + # + # When you are going through a bunch of images manually (up/down) when you reach + # the last image, it used to crash because the 'osd' object lacks a "drawstringframed" + # method. By sending the proper initialized object (self.osd) it works nicely instead + # showing the message over the image in the top right corner. + # # Revision 1.38 2003/12/14 17:46:02 dischi # cleanup *************** *** 236,241 **** self.drawosd() if plugin.getbyname('osd'): ! plugin.getbyname('osd').draw(('osd', None), osd) # draw --- 244,250 ---- self.drawosd() + if plugin.getbyname('osd'): ! plugin.getbyname('osd').draw(('osd', None), self.osd) # draw ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog