Lines Matching refs:fPreferencesMenu
101 @synthesize fPreferencesMenu;
135 if ([self.fPreferencesMenu menu] == nil) {
139 addMenuItem(self.fPreferencesMenu, index);
143 [self.fPreferencesMenu setEnabled:YES];
144 [self.fPreferencesMenu setTarget:self];
145 [self.fPreferencesMenu setAction:@selector(_preferencesMenuHandler)];
147 [self.fPreferencesMenu setEnabled:NO];
148 [self.fPreferencesMenu setTarget:nil];
149 [self.fPreferencesMenu setAction:nil];
152 if ([self.fPreferencesMenu menu] == nil) return;
155 removeMenuItem(self.fPreferencesMenu);
201 self.fPreferencesMenu = (NSMenuItem*)[appMenu itemWithTag:PREFERENCES_TAG];
221 removeMenuItem(self.fPreferencesMenu);
229 BOOL prefsAvailable = ([self.fPreferencesMenu menu] != nil);
230 BOOL prefsEnabled = (prefsAvailable && [self.fPreferencesMenu isEnabled] && ([self.fPreferencesMenu target] != nil));
251 self.fPreferencesMenu = nil;