From dd7900192a41b4de70dddcb437642e030af48523 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 20 Jun 2006 03:00:39 +0000 Subject: [PATCH] small rearrangement --- macosx/InfoWindowController.m | 6 ++---- macosx/Torrent.m | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index 4866f22e5..95dd2b673 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -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]]; } diff --git a/macosx/Torrent.m b/macosx/Torrent.m index cab0b4823..ff33c4c40 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -362,7 +362,8 @@ - (NSString *) torrentLocationString { - return fPrivateTorrent ? @"Transmission Support Folder" : fPublicTorrentLocation; + return fPrivateTorrent ? @"Transmission Support Folder" + : [fPublicTorrentLocation stringByAbbreviatingWithTildeInPath]; } - (NSString *) dataLocation