mirror of
https://github.com/Airr/nim-cocoa.git
synced 2024-11-24 09:45:30 +00:00
Moved delegate methods to 'AppDelegate' object
This commit is contained in:
parent
1e74abaa7f
commit
2ce602f403
@ -91,21 +91,21 @@
|
||||
[appMenuItem setSubmenu:appMenu];
|
||||
|
||||
}
|
||||
- (void)applicationDidFinishLaunching: (NSNotification *)notification
|
||||
{
|
||||
[[NSUserNotificationCenter defaultUserNotificationCenter] setDelegate:self];
|
||||
// - (void)applicationDidFinishLaunching: (NSNotification *)notification
|
||||
// {
|
||||
// [[NSUserNotificationCenter defaultUserNotificationCenter] setDelegate:self];
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
- (BOOL)applicationShouldTerminateAfterLastWindowClosed: (NSNotification *)notification
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
// - (BOOL)applicationShouldTerminateAfterLastWindowClosed: (NSNotification *)notification
|
||||
// {
|
||||
// return YES;
|
||||
// }
|
||||
|
||||
- (BOOL)userNotificationCenter:(NSUserNotificationCenter *)center shouldPresentNotification:(NSUserNotification *)notification
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
// - (BOOL)userNotificationCenter:(NSUserNotificationCenter *)center shouldPresentNotification:(NSUserNotification *)notification
|
||||
// {
|
||||
// return YES;
|
||||
// }
|
||||
|
||||
@end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user