Changeset 6032


Ignore:
Timestamp:
Jun 4, 2008, 5:15:24 PM (14 years ago)
Author:
livings124
Message:

on Tiger attempt to show the group filter image at the correct size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r6027 r6032  
    22642264    int groupIndex = [fDefaults integerForKey: @"FilterGroup"];
    22652265   
    2266     NSImage * icon = nil;
     2266    NSImage * icon;
    22672267    NSString * toolTip;
    22682268    switch (groupIndex)
     
    22812281            toolTip = [NSString stringWithFormat: @"%@: %@", NSLocalizedString(@"Group", "Groups -> Button"),
    22822282                        [[GroupsController groups] nameForIndex: groupIndex]];
     2283    }
     2284   
     2285   
     2286    if (![NSApp isOnLeopardOrBetter])
     2287    {
     2288        icon = [[icon copy] autorelease];
     2289        [icon setScalesWhenResized: YES];
     2290        [icon setSize: NSMakeSize(12.0, 12.0)];
    22832291    }
    22842292   
Note: See TracChangeset for help on using the changeset viewer.