Changeset 3489 for trunk/macosx/Controller.m
- Timestamp:
- Oct 21, 2007, 1:53:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r3485 r3489 2829 2829 NSString * title = [[fInfoController window] isVisible] ? NSLocalizedString(@"Hide Inspector", "View menu -> Inspector") 2830 2830 : NSLocalizedString(@"Show Inspector", "View menu -> Inspector"); 2831 if (![[menuItem title] isEqualToString: title]) 2832 [menuItem setTitle: title]; 2831 [menuItem setTitle: title]; 2833 2832 2834 2833 return YES; … … 2844 2843 NSString * title = [fStatusBar isHidden] ? NSLocalizedString(@"Show Status Bar", "View menu -> Status Bar") 2845 2844 : NSLocalizedString(@"Hide Status Bar", "View menu -> Status Bar"); 2846 if (![[menuItem title] isEqualToString: title]) 2847 [menuItem setTitle: title]; 2845 [menuItem setTitle: title]; 2848 2846 2849 2847 return [fWindow isVisible]; … … 2855 2853 NSString * title = [fFilterBar isHidden] ? NSLocalizedString(@"Show Filter Bar", "View menu -> Filter Bar") 2856 2854 : NSLocalizedString(@"Hide Filter Bar", "View menu -> Filter Bar"); 2857 if (![[menuItem title] isEqualToString: title]) 2858 [menuItem setTitle: title]; 2855 [menuItem setTitle: title]; 2859 2856 2860 2857 return [fWindow isVisible]; … … 3024 3021 NSString * filterType = [fDefaults stringForKey: @"FilterSearchType"]; 3025 3022 3026 int tag = [menuItem tag];3027 3023 BOOL state; 3028 if ( tag== FILTER_TYPE_TAG_TRACKER)3024 if ([menuItem tag] == FILTER_TYPE_TAG_TRACKER) 3029 3025 state = [filterType isEqualToString: FILTER_TYPE_TRACKER]; 3030 3026 else
Note: See TracChangeset
for help on using the changeset viewer.