Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1:/tmp/cvs-serv8775

Modified Files:
        listing_area.py 
Log Message:
o Don't add [] or PL: if we have an icon for the text
o Only re-align tv shows if we align left


Index: listing_area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/listing_area.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** listing_area.py     24 Aug 2003 10:04:05 -0000      1.3
--- listing_area.py     24 Aug 2003 10:27:54 -0000      1.4
***************
*** 10,13 ****
--- 10,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.4  2003/08/24 10:27:54  dischi
+ # o Don't add [] or PL: if we have an icon for the text
+ # o Only re-align tv shows if we align left
+ #
  # Revision 1.3  2003/08/24 10:04:05  dischi
  # added font_h as variable for y and height settings
***************
*** 260,274 ****
                  text = "unknown"
  
-             if choice.type == 'playlist':
-                 text = 'PL: %s' % text
- 
-             if choice.type == 'dir' and choice.parent and \
-                choice.parent.type != 'mediamenu':
-                 text = '[%s]' % text
- 
              type_image = None
              if hasattr( val, 'image' ):
                  type_image = val.image
                  
              if content.type == 'text':
                  x0 = item_x0
--- 264,279 ----
                  text = "unknown"
  
              type_image = None
              if hasattr( val, 'image' ):
                  type_image = val.image
                  
+             if not choice.icon and not type_image:
+                 if choice.type == 'playlist':
+                     text = 'PL: %s' % text
+ 
+                 if choice.type == 'dir' and choice.parent and \
+                    choice.parent.type != 'mediamenu':
+                     text = '[%s]' % text
+ 
              if content.type == 'text':
                  x0 = item_x0
***************
*** 294,298 ****
                  # special handling for tv shows
                  if choice.type == 'video' and hasattr(choice,'tv_show') and \
!                    choice.tv_show and (val.align=='left' or val.align==''):
                      sn = choice.show_name
  
--- 299,304 ----
                  # special handling for tv shows
                  if choice.type == 'video' and hasattr(choice,'tv_show') and \
!                    choice.tv_show and (val.align=='left' or val.align=='') and \
!                    (content.align=='left' or content.align==''):
                      sn = choice.show_name
  




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to