From 497c5492be54ec2203f90dbfc3a229426f9fed3f Mon Sep 17 00:00:00 2001 From: Joseph Spiros Date: Wed, 1 Oct 2003 19:27:12 +0000 Subject: [PATCH] Removed the ability to remove the Quit (and therefore, Register if you aren't registered) item from the menu. --- MenuController.m | 2 +- PreferencesController.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.20.1