mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
#6083: Remove what looks like unintended changes (added in r14343)
Surprisingly, this change made notification center preserve seeding complete notifications upon recent notifications removal by clicking the (x) button.
This commit is contained in:
parent
8d2ef3ad27
commit
8cde6de555
1 changed files with 0 additions and 2 deletions
|
@ -2105,8 +2105,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
[notification setHasActionButton: YES];
|
||||
[notification setActionButtonTitle: NSLocalizedString(@"Show", "notification button")];
|
||||
|
||||
notification.additionalActions = @[ [NSUserNotificationAction actionWithIdentifier:@"a" title:@"a"], [NSUserNotificationAction actionWithIdentifier:@"b" title:@"b"] ];
|
||||
|
||||
NSMutableDictionary * userInfo = [NSMutableDictionary dictionaryWithObject: [torrent hashString] forKey: @"Hash"];
|
||||
if (location)
|
||||
[userInfo setObject: location forKey: @"Location"];
|
||||
|
|
Loading…
Reference in a new issue