mirror of
https://github.com/transmission/transmission
synced 2024-12-26 17:47:37 +00:00
move date info to the activity tab of inspector
This commit is contained in:
parent
4481e184cf
commit
715298e688
2 changed files with 8 additions and 7 deletions
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue