Ignore:
Timestamp:
Feb 8, 2011, 1:08:30 AM (11 years ago)
Author:
livings124
Message:

set the visibility priority for high and low priority menu items

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r11835 r11849  
    34503450        [item setTarget: self];
    34513451        [item setAction: @selector(removeNoDelete:)];
     3452        [item setVisibilityPriority: NSToolbarItemVisibilityPriorityHigh];
    34523453       
    34533454        return item;
     
    35043505       
    35053506        [segmentedControl release];
     3507       
     3508        [groupItem setVisibilityPriority: NSToolbarItemVisibilityPriorityHigh];
     3509       
    35063510        return [groupItem autorelease];
    35073511    }
     
    35433547       
    35443548        [segmentedControl release];
     3549       
     3550        [groupItem setVisibilityPriority: NSToolbarItemVisibilityPriorityHigh];
     3551       
    35453552        return [groupItem autorelease];
    35463553    }
     
    35703577        [item setTarget: self];
    35713578        [item setAction: @selector(toggleQuickLook:)];
     3579        [item setVisibilityPriority: NSToolbarItemVisibilityPriorityLow];
    35723580       
    35733581        return item;
Note: See TracChangeset for help on using the changeset viewer.