Ignore:
Timestamp:
Jan 26, 2013, 10:39:32 PM (8 years ago)
Author:
livings124
Message:

Move the inspector Rename File context menu item to the bottom of the list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FileOutlineController.m

    r13846 r13878  
    563563    NSMenu * menu = [[NSMenu alloc] initWithTitle: @"File Outline Menu"];
    564564   
    565     //rename
    566     NSMenuItem * item = [[NSMenuItem alloc] initWithTitle: [NSLocalizedString(@"Rename File", "File Outline -> Menu") stringByAppendingEllipsis]
    567                                                    action: @selector(renameSelected:) keyEquivalent: @""];
    568     [item setTarget: self];
    569     [menu addItem: item];
    570     [item release];
    571    
    572     [menu addItem: [NSMenuItem separatorItem]];
    573    
    574565    //check and uncheck
    575     item = [[NSMenuItem alloc] initWithTitle: NSLocalizedString(@"Check Selected", "File Outline -> Menu")
     566    NSMenuItem * item = [[NSMenuItem alloc] initWithTitle: NSLocalizedString(@"Check Selected", "File Outline -> Menu")
    576567            action: @selector(setCheck:) keyEquivalent: @""];
    577568    [item setTarget: self];
     
    633624    //reveal in finder
    634625    item = [[NSMenuItem alloc] initWithTitle: NSLocalizedString(@"Show in Finder", "File Outline -> Menu")
    635             action: @selector(revealFile:) keyEquivalent: @""];
     626                                      action: @selector(revealFile:) keyEquivalent: @""];
     627    [item setTarget: self];
     628    [menu addItem: item];
     629    [item release];
     630   
     631    [menu addItem: [NSMenuItem separatorItem]];
     632   
     633    //rename
     634    item = [[NSMenuItem alloc] initWithTitle: [NSLocalizedString(@"Rename File", "File Outline -> Menu") stringByAppendingEllipsis]
     635                                                   action: @selector(renameSelected:) keyEquivalent: @""];
    636636    [item setTarget: self];
    637637    [menu addItem: item];
Note: See TracChangeset for help on using the changeset viewer.