Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28111
Modified Files:
item.py
Log Message:
add basic sort function
Index: item.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/item.py,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** item.py 14 Feb 2004 13:04:46 -0000 1.68
--- item.py 14 Feb 2004 15:06:25 -0000 1.69
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.69 2004/02/14 15:06:25 dischi
+ # add basic sort function
+ #
# Revision 1.68 2004/02/14 13:04:46 dischi
# do not call skin.get_singleton() anymore
***************
*** 372,375 ****
--- 375,385 ----
+ def sort(self, mode=None):
+ """
+ Returns the string how to sort this item
+ """
+ return '0%s' % self.name
+
+
def translation(self, application):
"""
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog