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