small rearrangement

This commit is contained in:
Mitchell Livingston 2006-06-20 03:00:39 +00:00
parent a51b62ac73
commit dd7900192a
2 changed files with 4 additions and 5 deletions

View File

@ -173,11 +173,9 @@
[fHashField setStringValue: hashString];
[fHashField setToolTip: hashString];
[fTorrentLocationField setStringValue: [[torrent torrentLocationString]
stringByAbbreviatingWithTildeInPath]];
[fTorrentLocationField setStringValue: [torrent torrentLocationString]];
[fTorrentLocationField setToolTip: [torrent torrentLocation]];
[fDataLocationField setStringValue: [[torrent dataLocation]
stringByAbbreviatingWithTildeInPath]];
[fDataLocationField setStringValue: [[torrent dataLocation] stringByAbbreviatingWithTildeInPath]];
[fDataLocationField setToolTip: [torrent dataLocation]];
[fDateStartedField setObjectValue: [torrent date]];
}

View File

@ -362,7 +362,8 @@
- (NSString *) torrentLocationString
{
return fPrivateTorrent ? @"Transmission Support Folder" : fPublicTorrentLocation;
return fPrivateTorrent ? @"Transmission Support Folder"
: [fPublicTorrentLocation stringByAbbreviatingWithTildeInPath];
}
- (NSString *) dataLocation