Changeset 396


Ignore:
Timestamp:
Jun 19, 2006, 11:51:04 PM (16 years ago)
Author:
livings124
Message:

Where's the Torrent? Transmission Support Folder

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r395 r396  
    164164        [fHashField setStringValue: [torrent hashString]];
    165165       
    166         [fTorrentLocationField setStringValue: [[torrent torrentLocation]
     166        [fTorrentLocationField setStringValue: [[torrent torrentLocationString]
    167167                                        stringByAbbreviatingWithTildeInPath]];
    168168        [fTorrentLocationField setToolTip: [torrent torrentLocation]];
  • trunk/macosx/Torrent.h

    r361 r396  
    9292- (NSString *) torrentLocation;
    9393- (NSString *) publicTorrentLocation;
     94- (NSString *) torrentLocationString;
    9495- (NSString *) dataLocation;
    9596
  • trunk/macosx/Torrent.m

    r386 r396  
    361361}
    362362
     363- (NSString *) torrentLocationString
     364{
     365    return fPrivateTorrent ? @"Transmission Support Folder" : fPublicTorrentLocation;
     366}
     367
     368- (NSString *) dataLocation
     369{
     370    return [[self downloadFolder] stringByAppendingPathComponent: [self name]];
     371}
     372
    363373- (BOOL) publicTorrent
    364374{
     
    369379{
    370380    return fPrivateTorrent;
    371 }
    372 
    373 - (NSString *) dataLocation
    374 {
    375     return [[self downloadFolder] stringByAppendingPathComponent: [self name]];
    376381}
    377382
Note: See TracChangeset for help on using the changeset viewer.