Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv5775
Modified Files:
directory.py
Log Message:
add FileInformation
Index: directory.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/directory.py,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -d -r1.80 -r1.81
*** directory.py 31 Dec 2003 16:40:24 -0000 1.80
--- directory.py 1 Jan 2004 17:42:23 -0000 1.81
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.81 2004/01/01 17:42:23 dischi
+ # add FileInformation
+ #
# Revision 1.80 2003/12/31 16:40:24 dischi
# small speed enhancements
***************
*** 78,82 ****
import osd
! from item import Item
from playlist import Playlist
from event import *
--- 81,85 ----
import osd
! from item import Item, FileInformation
from playlist import Playlist
from event import *
***************
*** 137,140 ****
--- 140,149 ----
self.name = os.path.basename(directory)
+ # store FileInformation for moving/copying
+ self.files = FileInformation()
+ if self.media:
+ self.files.read_only = True
+ self.files.append(directory)
+
if name:
self.name = name
***************
*** 146,150 ****
self.mountpoint = None
self.skin_settings = False
!
if add_args == None and hasattr(parent, 'add_args'):
add_args = parent.add_args
--- 155,159 ----
self.mountpoint = None
self.skin_settings = False
!
if add_args == None and hasattr(parent, 'add_args'):
add_args = parent.add_args
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog