Skip to content

Commit

Permalink
when a notification is clicked, remove it from the notification center
Browse files Browse the repository at this point in the history
  • Loading branch information
ghewgill committed Jan 15, 2013
1 parent decfd9a commit 0521398
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -683,6 +683,7 @@ - (void)userNotificationCenter:(NSUserNotificationCenter *)center didActivateNot
{
NSString *link = [notification.userInfo objectForKey:@"link"];
[self openLink:link];
[[NSUserNotificationCenter defaultUserNotificationCenter] removeDeliveredNotification:notification];
}

-(void)changeNotifications
Expand Down

0 comments on commit 0521398

Please sign in to comment.