mirror of
https://github.com/transmission/transmission.git
synced 2025-12-27 13:41:17 +00:00
show the full tracker address in a tooltip
This commit is contained in:
@@ -1128,6 +1128,13 @@ typedef enum
|
||||
|
||||
return [components componentsJoinedByString: @"\n"];
|
||||
}
|
||||
else if (tableView == fTrackerTable)
|
||||
{
|
||||
id node = [fTrackers objectAtIndex: row];
|
||||
if (![node isKindOfClass: [NSNumber class]])
|
||||
return [(TrackerNode *)node fullAnnounceAddress];
|
||||
}
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
- (id) initWithTrackerStat: (tr_tracker_stat *) stat;
|
||||
|
||||
- (NSString *) host;
|
||||
- (NSString *) fullAnnounceAddress;
|
||||
|
||||
- (NSString *) lastAnnounceStatusString;
|
||||
- (NSString *) nextAnnounceStatusString;
|
||||
|
||||
@@ -49,6 +49,11 @@
|
||||
return [NSString stringWithUTF8String: fStat.host];
|
||||
}
|
||||
|
||||
- (NSString *) fullAnnounceAddress
|
||||
{
|
||||
return [NSString stringWithUTF8String: fStat.announce];
|
||||
}
|
||||
|
||||
#warning consider "isActive"
|
||||
- (NSString *) lastAnnounceStatusString
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user