Ignore:
Timestamp:
Mar 31, 2008, 5:59:16 PM (14 years ago)
Author:
charles
Message:

remove `TR_STATUS_DONE' from libtransmission's public API. It's useful as an internal state but not for code calling libtransmission.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r5452 r5457  
    891891- (BOOL) isSeeding
    892892{
    893     return fStat->status == TR_STATUS_SEED || fStat->status == TR_STATUS_DONE;
     893    return fStat->status == TR_STATUS_SEED;
    894894}
    895895
     
    10591059
    10601060            case TR_STATUS_SEED:
    1061             case TR_STATUS_DONE:
    10621061                if ([self totalPeersConnected] != 1)
    10631062                    string = [NSString stringWithFormat: NSLocalizedString(@"Seeding to %d of %d peers", "Torrent -> status string"),
     
    11261125       
    11271126        case TR_STATUS_SEED:
    1128         case TR_STATUS_DONE:
    11291127            string = [NSString stringWithFormat: @"%@: %@, %@: %@",
    11301128                            NSLocalizedString(@"Ratio", "Torrent -> status string"), [NSString stringForRatio: [self ratio]],
     
    11681166
    11691167        case TR_STATUS_SEED:
    1170         case TR_STATUS_DONE:
    11711168            return NSLocalizedString(@"Seeding", "Torrent -> status string");
    11721169       
Note: See TracChangeset for help on using the changeset viewer.