mirror of
https://github.com/transmission/transmission
synced 2025-01-31 19:34:05 +00:00
scroll box for torrent comment
This commit is contained in:
parent
4306c7cfa5
commit
48b0d28e26
4 changed files with 8 additions and 10 deletions
2
macosx/English.lproj/InfoWindow.nib/classes.nib
generated
2
macosx/English.lproj/InfoWindow.nib/classes.nib
generated
|
@ -19,7 +19,7 @@
|
|||
LANGUAGE = ObjC;
|
||||
OUTLETS = {
|
||||
fAnnounceField = NSTextField;
|
||||
fCommentField = NSTextField;
|
||||
fCommentView = NSTextView;
|
||||
fConnectedPeersField = NSTextField;
|
||||
fCreatorField = NSTextField;
|
||||
fDataLocationField = NSTextField;
|
||||
|
|
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -38,13 +38,14 @@
|
|||
IBOutlet NSImageView * fImageView;
|
||||
IBOutlet NSTextField * fNameField, * fSizeField, * fTrackerField,
|
||||
* fAnnounceField, * fPieceSizeField, * fPiecesField,
|
||||
* fHashField, * fCommentField,
|
||||
* fHashField,
|
||||
* fTorrentLocationField, * fDataLocationField,
|
||||
* fDateStartedField,
|
||||
* fCreatorField, * fDateCreatedField,
|
||||
* fStateField,
|
||||
* fDownloadedValidField, * fDownloadedTotalField, * fUploadedTotalField,
|
||||
* fRatioField, * fSwarmSpeedField;
|
||||
* fRatioField, * fSwarmSpeedField;
|
||||
IBOutlet NSTextView * fCommentView;
|
||||
IBOutlet NSButton * fRevealDataButton, * fRevealTorrentButton;
|
||||
|
||||
IBOutlet NSTableView * fPeerTable;
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#define TAB_OPTIONS_IDENT @"Options"
|
||||
|
||||
//15 spacing at the bottom of each tab
|
||||
#define TAB_INFO_HEIGHT 255.0
|
||||
#define TAB_INFO_HEIGHT 297.0
|
||||
#define TAB_ACTIVITY_HEIGHT 109.0
|
||||
#define TAB_PEERS_HEIGHT 260.0
|
||||
#define TAB_FILES_HEIGHT 260.0
|
||||
|
@ -157,8 +157,7 @@
|
|||
[fPiecesField setStringValue: @""];
|
||||
[fHashField setStringValue: @""];
|
||||
[fHashField setToolTip: nil];
|
||||
[fCommentField setStringValue: @""];
|
||||
[fCommentField setToolTip: @""];
|
||||
[fCommentView setString: @""];
|
||||
|
||||
[fCreatorField setStringValue: @""];
|
||||
[fDateCreatedField setStringValue: @""];
|
||||
|
@ -176,7 +175,6 @@
|
|||
[fTrackerField setSelectable: NO];
|
||||
[fAnnounceField setSelectable: NO];
|
||||
[fHashField setSelectable: NO];
|
||||
[fCommentField setSelectable: NO];
|
||||
[fCreatorField setSelectable: NO];
|
||||
[fTorrentLocationField setSelectable: NO];
|
||||
[fDataLocationField setSelectable: NO];
|
||||
|
@ -219,8 +217,7 @@
|
|||
[fPiecesField setIntValue: [torrent pieceCount]];
|
||||
[fHashField setStringValue: hashString];
|
||||
[fHashField setToolTip: hashString];
|
||||
[fCommentField setStringValue: commentString];
|
||||
[fCommentField setToolTip: commentString];
|
||||
[fCommentView setString: commentString];
|
||||
|
||||
[fCreatorField setStringValue: [torrent creator]];
|
||||
[fDateCreatedField setObjectValue: [torrent dateCreated]];
|
||||
|
@ -244,7 +241,7 @@
|
|||
[fTrackerField setSelectable: YES];
|
||||
[fAnnounceField setSelectable: YES];
|
||||
[fHashField setSelectable: YES];
|
||||
[fCommentField setSelectable: YES];
|
||||
[fCommentView setSelectable: YES];
|
||||
[fCreatorField setSelectable: YES];
|
||||
[fTorrentLocationField setSelectable: YES];
|
||||
[fDataLocationField setSelectable: YES];
|
||||
|
|
Loading…
Reference in a new issue