Changeset 153 for trunk/Cocoa/F-Script Anywhere/Source/FSAController.m
- Timestamp:
- 02/13/04 21:01:06 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/F-Script Anywhere/Source/FSAController.m
r19 r153 52 52 if (!alreadyInstalled && ((mainMenu = [NSApp mainMenu]) != nil)) { 53 53 NSMenu *insertIntoMenu = nil; 54 NSMenuItem *item;54 id<NSMenuItem> item; 55 55 unsigned insertLoc = NSNotFound; 56 NSBundle *bundle = [NSBundle bundleForClass: self];56 NSBundle *bundle = [NSBundle bundleForClass: self]; 57 57 NSMenu * beforeSubmenu = [NSApp windowsMenu]; 58 58 // Succeed or fail, we do not try again. … … 106 106 [fsaMenu addItemWithTitle: NSLocalizedStringFromTableInBundle(@"Associate With Interface", @"FSA", bundle, @"Title of Associate with Interface menu item") action: @selector(FSA_associateWithInterface:) keyEquivalent: @""]; 107 107 [fsaMenu addItem: [NSMenuItem separatorItem]]; 108 item = [fsaMenu addItemWithTitle: NSLocalizedStringFromTableInBundle(@"About F-Script Anywhere É", @"FSA", bundle, @"Title of Info Panel menu item") action:@selector(showInfo:) keyEquivalent: @""];108 item = [fsaMenu addItemWithTitle: NSLocalizedStringFromTableInBundle(@"About F-Script Anywhere...", @"FSA", bundle, @"Title of Info Panel menu item") action:@selector(showInfo:) keyEquivalent: @""]; 109 109 [item setTarget: self]; 110 110 [[FSAWindowManager sharedManager] setWindowMenu: fsaMenu]; … … 137 137 } 138 138 139 + (void)load;140 {141 [self installMenu];142 }143 144 139 - (id)init { 145 140 self = [super initWithWindowNibName: @"FSAInterpreterPanel"]; … … 150 145 static unsigned numInterpWindows = 0; 151 146 152 NSAssert(window != nil, @"Can Õt get interpreter window!");147 NSAssert(window != nil, @"Can't get interpreter window!"); 153 148 if (interpreterNum == 0) interpreterNum = ++numInterpWindows; 154 149 if ( (label = [self interpreterLabel]) != nil) {
Note:
See TracChangeset
for help on using the changeset viewer.