Commits

Peter Hosey  committed 53cb25b

Clarify the name of the sheet callback method, and declare it in our “PRIVATE” category, fixing the last BeepHammer-specific warning.

  • Participants
  • Parent commits 02d3d04
  • Branches default

Comments (0)

Files changed (1)

File Developer Tools/BeepHammer/BeepController.m

 - (void)tableViewSelectionDidChange:(NSNotification *)aNotification;
 
 - (void)notificationsDidChange;
+
+- (void) notificationEditorDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;
 @end
 
 @implementation BeepController
 	[NSApp beginSheet:notificationPanel
 	   modalForWindow:mainWindow
 		modalDelegate:self
-	   didEndSelector:@selector(sheetDidEnd:returnCode:contextInfo:)
+	   didEndSelector:@selector(notificationEditorDidEnd:returnCode:contextInfo:)
 		  contextInfo:nil];
 }
 
 		[NSApp beginSheet:notificationPanel
 		   modalForWindow:mainWindow
 			modalDelegate:self
-		   didEndSelector:@selector(sheetDidEnd:returnCode:contextInfo:)
+		   didEndSelector:@selector(notificationEditorDidEnd:returnCode:contextInfo:)
 			  contextInfo:[[NSNumber alloc] initWithInteger:index]];
 	}
 }
 	[NSApp endSheet:[sender window] returnCode:NSCancelButton];
 }
 
-- (void) sheetDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo {
+- (void) notificationEditorDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo {
 	if (returnCode == NSOKButton) {
 		NSNumber *defaultValue = [NSNumber numberWithBool:[notificationDefault  state] == NSOnState];
 		NSNumber *stickyValue  = [NSNumber numberWithBool:[notificationSticky   state] == NSOnState];