changed to windowDidBecomeKey

This commit is contained in:
Jeena Paradies 2010-04-28 02:04:39 +02:00
parent 2bb3156500
commit c94e5af643
2 changed files with 2 additions and 4 deletions

View file

@ -31,8 +31,6 @@
- (NSString *)pluginURL;
- (void)handleGetURLEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent;
- (void)unreadMentions:(NSInteger)count;
- (void)mentionsWindowDidExpose:(id)sender;
OSStatus handler(EventHandlerCallRef nextHandler, EventRef theEvent, void* userData);

View file

@ -129,10 +129,10 @@
}
// Mentions window has been visible
- (void)windowDidUpdate:(NSNotification *)notification {
- (void)windowDidBecomeKey:(NSNotification *)notification {
if ([notification object] == mentionsViewWindow) {
[self unreadMentions:0];
}
}
}