Changeset 2039


Ignore:
Timestamp:
Jun 10, 2007, 10:58:47 PM (15 years ago)
Author:
livings124
Message:

swap high and low priority colors

Location:
branches/file_selection/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/file_selection/macosx/FileOutlineView.m

    r2037 r2039  
    3737    [self setIndentationPerLevel: 14.0];
    3838   
    39     normalColor = [[self backgroundColor] retain];
    40     highPriorityColor = [[NSColor colorWithCalibratedRed: 1.0 green: 1.0 blue: 224.0/255.0 alpha: 1.0] retain];
    41     lowPriorityColor = [[NSColor colorWithCalibratedRed: 1.0 green: 208.0/255.0 blue: 208.0/255.0 alpha: 1.0] retain];
     39    normalColor = [self backgroundColor];
     40    highPriorityColor = [[NSColor colorWithCalibratedRed: 1.0 green: 208.0/255.0 blue: 208.0/255.0 alpha: 1.0] retain];
     41    lowPriorityColor = [[NSColor colorWithCalibratedRed: 1.0 green: 1.0 blue: 224.0/255.0 alpha: 1.0] retain];
    4242}
    4343
    4444- (void) dealloc
    4545{
    46     [normalColor release];
    4746    [highPriorityColor release];
    4847    [lowPriorityColor release];
  • branches/file_selection/macosx/InfoWindowController.m

    r2037 r2039  
    650650        }
    651651       
    652         if (current && other)
    653             [menuItem setState: NSMixedState];
    654         else
    655             [menuItem setState: current ? NSOnState : NSOffState];
     652        [menuItem setState: current ? (other ? NSMixedState : NSOnState) : NSOffState];
    656653       
    657654        return YES;
Note: See TracChangeset for help on using the changeset viewer.