1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

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