1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +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:
Mike Gelfand 2016-03-03 13:38:12 +00:00
parent 8d2ef3ad27
commit 8cde6de555

View file

@ -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"];