Update of /cvsroot/freevo/freevo/src/plugins/idlebar
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5150
Modified Files:
__init__.py
Log Message:
use skin logo as default
Index: __init__.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/idlebar/__init__.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** __init__.py 8 Feb 2004 18:45:23 -0000 1.11
--- __init__.py 12 Feb 2004 16:31:32 -0000 1.12
***************
*** 19,22 ****
--- 19,25 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.12 2004/02/12 16:31:32 dischi
+ # use skin logo as default
+ #
# Revision 1.11 2004/02/08 18:45:23 dischi
# do not use font.font.stringsize, there is no border calculated, use font.stringsize
***************
*** 478,485 ****
Display the freevo logo in the idlebar
"""
! def __init__(self, image='logo.png'):
IdleBarPlugin.__init__(self)
! self.image = os.path.join(config.IMAGE_DIR, image)
def draw(self, (type, object), x, osd):
! return osd.draw_image(self.image, (x, osd.y + 5, 163, 80))[0]
--- 481,492 ----
Display the freevo logo in the idlebar
"""
! def __init__(self, image=None):
IdleBarPlugin.__init__(self)
! self.image = image
def draw(self, (type, object), x, osd):
! if not self.image:
! image = osd.settings.images['logo']
! else:
! image = os.path.join(config.IMAGE_DIR, self.image)
! return osd.draw_image(image, (x, osd.y + 5, 163, 80))[0]
-------------------------------------------------------
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