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

Modified Files:
        tiny_osd.py 
Log Message:
do not call skin.get_singleton() anymore

Index: tiny_osd.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/tiny_osd.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** tiny_osd.py 1 Feb 2004 09:18:06 -0000       1.9
--- tiny_osd.py 14 Feb 2004 13:05:04 -0000      1.10
***************
*** 16,19 ****
--- 16,22 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.10  2004/02/14 13:05:04  dischi
+ # do not call skin.get_singleton() anymore
+ #
  # Revision 1.9  2004/02/01 09:18:06  dischi
  # fix drawing for skin objects
***************
*** 108,115 ****
              font  = renderer.get_font('osd')
          except AttributeError:
!             try:
!                 font  = skin.get_singleton().settings.font['osd']
!             except:
!                 font  = skin.get_singleton().settings.font['default']
  
          w = font.stringsize(self.message)
--- 111,115 ----
              font  = renderer.get_font('osd')
          except AttributeError:
!             font  = skin.get_font('osd')
  
          w = font.stringsize(self.message)
***************
*** 144,148 ****
              self.message = event.arg
              if not rc.app() or not skin.get_singleton().force_redraw:
!                 skin.get_singleton().redraw()
              elif hasattr(rc.app(), 'im_self') and hasattr(rc.app().im_self, 
'redraw'):
                  rc.app().im_self.redraw()
--- 144,148 ----
              self.message = event.arg
              if not rc.app() or not skin.get_singleton().force_redraw:
!                 skin.redraw()
              elif hasattr(rc.app(), 'im_self') and hasattr(rc.app().im_self, 
'redraw'):
                  rc.app().im_self.redraw()
***************
*** 157,161 ****
              self.message = ''
              if not rc.app() or not skin.get_singleton().force_redraw:
!                 skin.get_singleton().redraw()
              elif hasattr(rc.app(), 'im_self') and hasattr(rc.app().im_self, 
'redraw'):
                  rc.app().im_self.redraw()
--- 157,161 ----
              self.message = ''
              if not rc.app() or not skin.get_singleton().force_redraw:
!                 skin.redraw()
              elif hasattr(rc.app(), 'im_self') and hasattr(rc.app().im_self, 
'redraw'):
                  rc.app().im_self.redraw()



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to