Changeset 6883


Ignore:
Timestamp:
Oct 11, 2008, 8:19:34 PM (13 years ago)
Author:
livings124
Message:

by default, show the Quick Look toolbar button on Leopard; update NEWS

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r6854 r6883  
    55- All Platforms
    66   + Rewritten bandwidth management code
    7    + Lazy bitfields
     7   + Lazy bitfields (always on)
    88   + Support compression when serving Web Interface content and RPC responses
    99   + Simplify the RPC whitelist
  • trunk/macosx/Controller.m

    r6844 r6883  
    34153415- (NSArray *) toolbarDefaultItemIdentifiers: (NSToolbar *) toolbar
    34163416{
    3417     return [NSArray arrayWithObjects:
    3418             TOOLBAR_CREATE, TOOLBAR_OPEN_FILE, TOOLBAR_REMOVE,
    3419             NSToolbarSeparatorItemIdentifier,
    3420             TOOLBAR_PAUSE_RESUME_ALL,
    3421             NSToolbarFlexibleSpaceItemIdentifier,
    3422             TOOLBAR_FILTER, TOOLBAR_INFO, nil];
     3417    NSMutableArray * idents =  [NSArray arrayWithObjects:
     3418                                TOOLBAR_CREATE, TOOLBAR_OPEN_FILE, TOOLBAR_REMOVE,
     3419                                NSToolbarSeparatorItemIdentifier,
     3420                                TOOLBAR_PAUSE_RESUME_ALL,
     3421                                NSToolbarFlexibleSpaceItemIdentifier,
     3422                                TOOLBAR_FILTER, TOOLBAR_INFO, nil];
     3423   
     3424    //allow quicklook on leopard
     3425    if ([NSApp isOnLeopardOrBetter])
     3426        [idents insertObject: TOOLBAR_QUICKLOOK atIndex: [idents count]-2];
     3427   
     3428    return idents;
    34233429}
    34243430
Note: See TracChangeset for help on using the changeset viewer.