mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +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:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user