Update of /cvsroot/freevo/freevo/src/image
In directory sc8-pr-cvs1:/tmp/cvs-serv20198/image

Modified Files:
        imageitem.py 
Log Message:
changes, related to item.py changes

Index: imageitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/image/imageitem.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** imageitem.py        30 Dec 2003 21:24:08 -0000      1.20
--- imageitem.py        31 Dec 2003 16:42:39 -0000      1.21
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.21  2003/12/31 16:42:39  dischi
+ # changes, related to item.py changes
+ #
  # Revision 1.20  2003/12/30 21:24:08  dischi
  # prevent crash because True is no dict
***************
*** 66,81 ****
  class ImageItem(Item):
      def __init__(self, url, parent, name = None, duration = 0):
          Item.__init__(self, parent)
  
-         self.type     = 'image'
-         self.set_url(url)
-         
-         self.image    = self.filename
-         self.duration = duration
-         self.rotation = 0
-         
-         # set name
          if name:
              self.name = name
  
          
--- 69,84 ----
  class ImageItem(Item):
      def __init__(self, url, parent, name = None, duration = 0):
+         self.type = 'image'
          Item.__init__(self, parent)
  
          if name:
              self.name = name
+ 
+         self.set_url(url, search_image=False)
+ 
+         if self.mode == 'file':
+             self.image = self.filename
+         self.duration = duration
+         self.rotation = 0
  
          




-------------------------------------------------------
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

Reply via email to