Changeset 152

Show
Ignore:
Timestamp:
Sun Mar 18 04:14:05 2007
Author:
manatlan
Message:

- correction of a little bug in export operation

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/common.py

    r145 r152  
    79 79  
    80 80         self.photo_list = photo_list  
    81           #self.photo_list.sort(compa)  
    82           self.photo_list.sort(lambda f, s: int(int(s.date) - int(f.date))) # The integer cast is for the result is needed because the dates are usually of type long, and a comparison needs an int  
    83            
      81  
      82         #self.photo_list.sort(lambda f, s: int(int(s.date) - int(f.date))) # The integer cast is for the result is needed because the dates are usually of type long, and a comparison needs an int  
      83         self.photo_list.sort(lambda f, s: cmp(s.date,f.date)) # manatlan was here  
      84  
    84 85         # Create all the visual elements  
    85 86         self.thumb_display = gtk.Image()