Changeset 4260
- Timestamp:
- Dec 21, 2007, 4:29:42 PM (15 years ago)
- Location:
- trunk/macosx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r4259 r4260 2095 2095 2096 2096 NSImage * icon = nil; 2097 if (index >= 0)2098 icon = [[GroupsWindowController groupsController] imageForIndex: index isSmall: YES];2099 else if (index == GROUP_FILTER_ALL_TAG)2100 icon = [NSImage imageNamed: @"PinTemplate.png"];2101 else2102 {2103 if ([NSApp isOnLeopardOrBetter])2104 icon = [NSImage imageNamed: NSImageNameRemoveTemplate];2105 }2106 [[fGroupFilterMenu itemAtIndex: 0] setImage: icon];2107 2108 2097 NSString * toolTip; 2109 2098 switch (index) 2110 2099 { 2111 2100 case GROUP_FILTER_ALL_TAG: 2101 icon = [NSImage imageNamed: @"PinTemplate.png"]; 2112 2102 toolTip = NSLocalizedString(@"All Groups", "Groups -> Button"); 2113 2103 break; 2114 2104 case -1: 2105 if ([NSApp isOnLeopardOrBetter]) 2106 icon = [NSImage imageNamed: NSImageNameRemoveTemplate]; 2115 2107 toolTip = NSLocalizedString(@"Group: No Label", "Groups -> Button"); 2116 2108 break; 2117 2109 default: 2110 icon = [[GroupsWindowController groupsController] imageForIndex: index isSmall: YES]; 2118 2111 toolTip = [NSLocalizedString(@"Group: ", "Groups -> Button") stringByAppendingString: 2119 2112 [[GroupsWindowController groupsController] nameForIndex: index]]; 2120 2113 } 2114 2115 [[fGroupFilterMenu itemAtIndex: 0] setImage: icon]; 2121 2116 [fGroupsButton setToolTip: toolTip]; 2122 2117 } -
trunk/macosx/English.lproj/MainMenu.nib/classes.nib
r4253 r4260 274 274 </dict> 275 275 <dict> 276 <key>CLASS</key>277 <string>FilterButton</string>278 <key>LANGUAGE</key>279 <string>ObjC</string>280 <key>SUPERCLASS</key>281 <string>NSButton</string>282 </dict>283 <dict>284 276 <key>ACTIONS</key> 285 277 <dict> … … 318 310 <key>SUPERCLASS</key> 319 311 <string>NSTableView</string> 312 </dict> 313 <dict> 314 <key>CLASS</key> 315 <string>FilterButton</string> 316 <key>LANGUAGE</key> 317 <string>ObjC</string> 318 <key>SUPERCLASS</key> 319 <string>NSButton</string> 320 320 </dict> 321 321 <dict> -
trunk/macosx/English.lproj/MainMenu.nib/info.nib
r4253 r4260 11 11 <key>IBOpenObjects</key> 12 12 <array> 13 <integer>1 310</integer>13 <integer>1603</integer> 14 14 </array> 15 15 <key>IBSystem Version</key>
Note: See TracChangeset
for help on using the changeset viewer.