From c94e5af643a9fc24f5212109b7c7aaa9b9990a9c Mon Sep 17 00:00:00 2001 From: Jeena Paradies Date: Wed, 28 Apr 2010 02:04:39 +0200 Subject: [PATCH] changed to windowDidBecomeKey --- Controller.h | 2 -- Controller.m | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Controller.h b/Controller.h index b6336d9..48444cc 100644 --- a/Controller.h +++ b/Controller.h @@ -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); diff --git a/Controller.m b/Controller.m index 127ae65..b93772b 100644 --- a/Controller.m +++ b/Controller.m @@ -129,10 +129,10 @@ } // Mentions window has been visible -- (void)windowDidUpdate:(NSNotification *)notification { +- (void)windowDidBecomeKey:(NSNotification *)notification { if ([notification object] == mentionsViewWindow) { [self unreadMentions:0]; - } + } }