From: Joseph Spiros Date: Wed, 1 Oct 2003 19:27:12 +0000 (+0000) Subject: Removed the ability to remove the Quit (and therefore, Register if you X-Git-Tag: v1.0~20 X-Git-Url: http://git.ithinksw.org/MenuTunes.git/commitdiff_plain/497c5492be54ec2203f90dbfc3a229426f9fed3f Removed the ability to remove the Quit (and therefore, Register if you aren't registered) item from the menu. --- diff --git a/MenuController.m b/MenuController.m index 0d6fc63..4b56594 100755 --- a/MenuController.m +++ b/MenuController.m @@ -654,7 +654,7 @@ 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; diff --git a/PreferencesController.m b/PreferencesController.m index 590e6de..9308630 100755 --- a/PreferencesController.m +++ b/PreferencesController.m @@ -891,7 +891,7 @@ static PreferencesController *prefs = nil; 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; } }