Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1:/tmp/cvs-serv10575
Modified Files:
listing_area.py
Log Message:
fix stringsize for tv shows and blurr2
Index: listing_area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/listing_area.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** listing_area.py 4 Jan 2004 18:17:24 -0000 1.17
--- listing_area.py 10 Jan 2004 13:20:21 -0000 1.18
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.18 2004/01/10 13:20:21 dischi
+ # fix stringsize for tv shows and blurr2
+ #
# Revision 1.17 2004/01/04 18:17:24 dischi
# fix tv show listing
***************
*** 365,372 ****
if c.type == 'video' and hasattr(c,'tv_show') and \
c.tv_show and c.show_name[0] == sn[0]:
! season = max(season,
! val.font.stringsize(c.show_name[1]))
! episode = max(episode,
! val.font.stringsize(c.show_name[2]))
if tvs_shortname and not c.image:
tvs_shortname = False
--- 368,377 ----
if c.type == 'video' and hasattr(c,'tv_show') and \
c.tv_show and c.show_name[0] == sn[0]:
! # do not use val.font.stringsize because this will
! # add shadow and outline values we add later for the
! # normal text again. So just use
val.font.font.stringsize
! stringsize = val.font.font.stringsize
! season = max(season, stringsize(c.show_name[1]))
! episode = max(episode, stringsize(c.show_name[2]))
if tvs_shortname and not c.image:
tvs_shortname = False
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog