Removed the ability to remove the Quit (and therefore, Register if you
authorJoseph Spiros <joseph.spiros@ithinksw.com>
Wed, 1 Oct 2003 19:27:12 +0000 (19:27 +0000)
committerJoseph Spiros <joseph.spiros@ithinksw.com>
Wed, 1 Oct 2003 19:27:12 +0000 (19:27 +0000)
aren't registered) item from the menu.

MenuController.m
PreferencesController.m

index 0d6fc63..4b56594 100755 (executable)
             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;
index 590e6de..9308630 100755 (executable)
@@ -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;
             }
         }