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

Modified Files:
        viewer.py 
Log Message:
fix getattr call for osd

Index: viewer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/image/viewer.py,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** viewer.py   31 Dec 2004 11:57:42 -0000      1.73
--- viewer.py   17 Apr 2005 18:34:51 -0000      1.74
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.74  2005/04/17 18:34:51  dischi
+ # fix getattr call for osd
+ #
  # Revision 1.73  2004/12/31 11:57:42  dischi
  # renamed SKIN_* and OSD_* variables to GUI_*
***************
*** 445,449 ****
          osdstring = u''
          for strtag in config.IMAGEVIEWER_OSD[self.osd_mode-1]:
!             i = self.fileitem.getattr(strtag[1])
              if i:
                  osdstring += u' %s %s' % (Unicode(strtag[0]), Unicode(i))
--- 448,452 ----
          osdstring = u''
          for strtag in config.IMAGEVIEWER_OSD[self.osd_mode-1]:
!             i = str(self.fileitem[strtag[1]])
              if i:
                  osdstring += u' %s %s' % (Unicode(strtag[0]), Unicode(i))
***************
*** 494,498 ****
              self.osd_box.set_alpha(230)
          if not background:
!             self.osd_box = gui.Rectangle(pos, size, 0xaa000000)
  
          # put the rectangle on the screen and set the zindex to 1
--- 497,501 ----
              self.osd_box.set_alpha(230)
          if not background:
!             self.osd_box = gui.Rectangle(pos, size, 0xaa000000L)
  
          # put the rectangle on the screen and set the zindex to 1



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to