Ignore:
Timestamp:
Sep 7, 2009, 3:07:00 PM (13 years ago)
Author:
livings124
Message:

disable QuickLook? button/menu item on 10.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r9054 r9055  
    32533253        [item setAction: @selector(toggleQuickLook:)];
    32543254        [item setAutovalidates: NO];
     3255        [item setEnabled: [NSApp isOnSnowLeopardOrBetter]];
    32553256       
    32563257        return item;
     
    37173718    }
    37183719   
     3720    //quick look only works on 10.6
     3721    if (action == @selector(toggleQuickLook:))
     3722        return [NSApp isOnSnowLeopardOrBetter];
     3723   
    37193724    return YES;
    37203725}
Note: See TracChangeset for help on using the changeset viewer.