Changeset 5a4c870baeeeb993dbc2b2aa4af3647a9587e82e

Show
Ignore:
Timestamp:
05/22/03 15:40:13 (5 years ago)
Author:
Derk-Jan Hartman <hartman@videolan.org>
git-committer:
Derk-Jan Hartman <hartman@videolan.org> 1053610813 +0000
git-parent:

[8aa24cfe361b893a626016211e05f41c544f5c1b]

git-author:
Derk-Jan Hartman <hartman@videolan.org> 1053610813 +0000
Message:

* Fixed an issue that was preventing the use of the playlist in Mac OS 10.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/macosx/playlist.m

    r9d8a2d0 r5a4c870  
    33 ***************************************************************************** 
    44 * Copyright (C) 2002-2003 VideoLAN 
    5  * $Id: playlist.m,v 1.22 2003/05/12 01:17:10 hartman Exp $ 
     5 * $Id: playlist.m,v 1.23 2003/05/22 13:40:13 hartman Exp $ 
    66 * 
    77 * Authors: Jon Lech Johansen <jon-vl@nanocrew.net> 
     
    112112} 
    113113 
    114 - (void) highlightSelectionInClipRect:(NSRect)o_rect { 
     114- (void)highlightSelectionInClipRect:(NSRect)o_rect { 
    115115    NSRect o_new_rect; 
    116116    float f_height = [self rowHeight] + [self intercellSpacing].height; 
    117117    float f_origin_y = NSMaxY( o_rect ); 
    118118    int i_row = o_rect.origin.y / f_height; 
     119     
     120    if( [NSColor respondsTo:alternateSelectedControlColor] ) 
     121    { 
     122        [super highlightSelectionInClipRect:o_rect]; 
     123        break; 
     124    } 
    119125     
    120126    if ( i_row % 2 == 0 )