Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv1979/plugins
Modified Files:
mediamenu.py
Log Message:
better handling of the MimetypePlugin
Index: mediamenu.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/mediamenu.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** mediamenu.py 30 Nov 2003 14:41:10 -0000 1.26
--- mediamenu.py 1 Dec 2003 19:09:37 -0000 1.27
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.27 2003/12/01 19:09:37 dischi
+ # better handling of the MimetypePlugin
+ #
# Revision 1.26 2003/11/30 14:41:10 dischi
# use new Mimetype plugin interface
***************
*** 165,172 ****
if isinstance(d, str):
# normal file
! for p in plugin.getbyname(plugin.MIMETYPE, True):
! if not p.display_type or not self.display_type or \
! self.display_type in p.display_type:
! self.normal_items += p.get(self, [ d ])
else:
(t, dir) = d[:2]
--- 168,173 ----
if isinstance(d, str):
# normal file
! for p in plugin.mimetype(self.display_type):
! self.normal_items += p.get(self, [ d ])
else:
(t, dir) = d[:2]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog