Ignore:
Timestamp:
Jun 22, 2007, 1:16:50 AM (15 years ago)
Author:
livings124
Message:

don't show priority colors for finished files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r2172 r2183  
    14071407    int index;
    14081408    for (index = [indexSet firstIndex]; index != NSNotFound; index = [indexSet indexGreaterThanIndex: index])
    1409         if (priority == [[[fFlatFileList objectAtIndex: index] objectForKey: @"Priority"] intValue])
     1409        if (priority == [[[fFlatFileList objectAtIndex: index] objectForKey: @"Priority"] intValue]
     1410                && [self fileProgress: index] < 1.0)
    14101411            return YES;
    14111412    return NO;
     
    16791680            [dict setObject: [[NSWorkspace sharedWorkspace] iconForFileType: [name pathExtension]] forKey: @"Icon"];
    16801681            [dict setObject: [NSNumber numberWithInt: priority] forKey: @"Priority"];
     1682            [dict setObject: self forKey: @"Torrent"];
    16811683           
    16821684            [flatList addObject: dict];
Note: See TracChangeset for help on using the changeset viewer.