on Tiger, show an appropriate image for the Peers pref tab

This commit is contained in:
Mitchell Livingston
2008-04-07 21:13:10 +00:00
parent dd92abf7aa
commit dd1a319d2d
4 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -194,11 +194,10 @@
[item setAction: @selector(setPrefView:)];
[item setAutovalidates: NO];
}
#warning update tiger image
else if ([ident isEqualToString: TOOLBAR_PEERS])
{
[item setLabel: NSLocalizedString(@"Peers", "Preferences -> toolbar item title")];
[item setImage: [NSImage imageNamed: [NSApp isOnLeopardOrBetter] ? NSImageNameUserGroup : @"Advanced.png"]];
[item setImage: [NSImage imageNamed: [NSApp isOnLeopardOrBetter] ? NSImageNameUserGroup : @"Peers.png"]];
[item setTarget: self];
[item setAction: @selector(setPrefView:)];
[item setAutovalidates: NO];