aren't registered) item from the menu.
SetMenuItemKeyGlyph(menuRef, 0, kMenuBlankGlyph);
charcode = 'b';*/
unichar buffer;
- [[NSString stringWithString:@"_"] getCharacters:&buffer]; // this will have to do for now :(
+ [[NSString stringWithString:@" "] getCharacters:&buffer]; // this will have to do for now :(
charcode = buffer;
}
break;
if ([[[info draggingPasteboard] types] containsObject:@"MenuTableViewPboardType"]) {
NSString *item = [myItems objectAtIndex:[[[info draggingPasteboard] stringForType:@"MenuTableViewPboardType"] intValue]];
- if ([item isEqualToString:@"preferences"]) {
+ if ([item isEqualToString:@"preferences"] || [item isEqualToString:@"quit"]) {
return NSDragOperationNone;
}
}