1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-28 02:27:41 +00:00

move date info to the activity tab of inspector

This commit is contained in:
Mitchell Livingston 2007-05-25 20:07:54 +00:00
parent 4481e184cf
commit 715298e688
2 changed files with 8 additions and 7 deletions

View file

@ -37,8 +37,8 @@
#define TAB_OPTIONS_IDENT @"Options" #define TAB_OPTIONS_IDENT @"Options"
//15 spacing at the bottom of each tab //15 spacing at the bottom of each tab
#define TAB_INFO_HEIGHT 300.0 #define TAB_INFO_HEIGHT 268.0
#define TAB_ACTIVITY_HEIGHT 170.0 #define TAB_ACTIVITY_HEIGHT 242.0
#define TAB_PEERS_HEIGHT 279.0 #define TAB_PEERS_HEIGHT 279.0
#define TAB_FILES_HEIGHT 279.0 #define TAB_FILES_HEIGHT 279.0
#define TAB_OPTIONS_HEIGHT 158.0 #define TAB_OPTIONS_HEIGHT 158.0
@ -171,14 +171,12 @@
[fCreatorField setStringValue: @""]; [fCreatorField setStringValue: @""];
[fDateCreatedField setStringValue: @""]; [fDateCreatedField setStringValue: @""];
[fCommentView setSelectable: NO];
[fTorrentLocationField setStringValue: @""]; [fTorrentLocationField setStringValue: @""];
[fTorrentLocationField setToolTip: nil]; [fTorrentLocationField setToolTip: nil];
[fDataLocationField setStringValue: @""]; [fDataLocationField setStringValue: @""];
[fDataLocationField setToolTip: nil]; [fDataLocationField setToolTip: nil];
[fDateAddedField setStringValue: @""];
[fDateCompletedField setStringValue: @""];
[fCommentView setSelectable: NO];
[fRevealDataButton setHidden: YES]; [fRevealDataButton setHidden: YES];
[fRevealTorrentButton setHidden: YES]; [fRevealTorrentButton setHidden: YES];
@ -203,6 +201,9 @@
[fErrorMessageView setString: @""]; [fErrorMessageView setString: @""];
[fErrorMessageView setSelectable: NO]; [fErrorMessageView setSelectable: NO];
[fDateAddedField setStringValue: @""];
[fDateCompletedField setStringValue: @""];
[fPiecesView setTorrent: nil]; [fPiecesView setTorrent: nil];
if (fPeers) if (fPeers)
@ -323,8 +324,6 @@
NSString * location = [torrent dataLocation]; NSString * location = [torrent dataLocation];
[fDataLocationField setStringValue: [location stringByAbbreviatingWithTildeInPath]]; [fDataLocationField setStringValue: [location stringByAbbreviatingWithTildeInPath]];
[fDataLocationField setToolTip: location]; [fDataLocationField setToolTip: location];
[fDateCompletedField setObjectValue: [torrent dateCompleted]];
} }
- (void) updateInfoActivity - (void) updateInfoActivity
@ -366,6 +365,8 @@
[fErrorMessageView setSelectable: ![errorMessage isEqualToString: @""]]; [fErrorMessageView setSelectable: ![errorMessage isEqualToString: @""]];
} }
[fDateCompletedField setObjectValue: [torrent dateCompleted]];
[fPiecesView updateView: NO]; [fPiecesView updateView: NO];
} }
} }