Changeset 3702


Ignore:
Timestamp:
Nov 4, 2007, 4:45:17 PM (14 years ago)
Author:
livings124
Message:

remove unused code

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.h

    r3698 r3702  
    215215- (void) showFilterBar: (BOOL) show animate: (BOOL) animate;
    216216
    217 //- (void) toggleAdvancedBar: (id) sender;
    218 
    219217- (void) doNothing: (id) sender; //needed for menu items that use bindings with no associated action
    220218
  • trunk/macosx/Controller.m

    r3698 r3702  
    24992499{
    25002500    [fDefaults setBool: ![fDefaults boolForKey: @"PiecesBar"] forKey: @"PiecesBar"];
    2501     [fTableView reloadData];
     2501    [fTableView display];
    25022502}
    25032503
     
    26592659    }
    26602660}
    2661 
    2662 /*- (void) toggleAdvancedBar: (id) sender
    2663 {
    2664     [fTableView display];
    2665 }*/
    26662661
    26672662- (void) doNothing: (id) sender {}
     
    28602855        return [fWindow attachedSheet] == nil;
    28612856   
    2862     //enable sort and advanced bar items
     2857    //enable sort options
    28632858    if (action == @selector(setSort:))
    28642859        return [fWindow isVisible];
  • trunk/macosx/TorrentTableView.m

    r3671 r3702  
    122122    else
    123123    {
    124         if (/*[event modifierFlags] & NSAlternateKeyMask*/NO)
     124        if ([self pointInMinimalStatusRect: fClickPoint])
    125125        {
    126             [fDefaults setBool: ![fDefaults boolForKey: @"UseAdvancedBar"] forKey: @"UseAdvancedBar"];
     126            [fDefaults setBool: ![fDefaults boolForKey: @"DisplaySmallStatusRegular"] forKey: @"DisplaySmallStatusRegular"];
    127127            fClickPoint = NSZeroPoint;
    128128            [self reloadData];
    129129        }
    130         else
    131         {
    132             if ([self pointInMinimalStatusRect: fClickPoint])
    133             {
    134                 [fDefaults setBool: ![fDefaults boolForKey: @"DisplaySmallStatusRegular"] forKey: @"DisplaySmallStatusRegular"];
    135                 fClickPoint = NSZeroPoint;
    136                 [self reloadData];
    137             }
    138 
    139             [super mouseDown: event];
    140         }
     130
     131        [super mouseDown: event];
    141132    }
    142133}
Note: See TracChangeset for help on using the changeset viewer.