remove unused code
This commit is contained in:
parent
15b9b0feb0
commit
3ab2e369d4
|
@ -214,8 +214,6 @@
|
|||
- (void) toggleFilterBar: (id) sender;
|
||||
- (void) showFilterBar: (BOOL) show animate: (BOOL) animate;
|
||||
|
||||
//- (void) toggleAdvancedBar: (id) sender;
|
||||
|
||||
- (void) doNothing: (id) sender; //needed for menu items that use bindings with no associated action
|
||||
|
||||
- (void) updateDockBadge: (NSNotification *) notification;
|
||||
|
|
|
@ -2498,7 +2498,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
|||
- (void) togglePiecesBar: (id) sender
|
||||
{
|
||||
[fDefaults setBool: ![fDefaults boolForKey: @"PiecesBar"] forKey: @"PiecesBar"];
|
||||
[fTableView reloadData];
|
||||
[fTableView display];
|
||||
}
|
||||
|
||||
- (void) toggleStatusBar: (id) sender
|
||||
|
@ -2659,11 +2659,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
|||
}
|
||||
}
|
||||
|
||||
/*- (void) toggleAdvancedBar: (id) sender
|
||||
{
|
||||
[fTableView display];
|
||||
}*/
|
||||
|
||||
- (void) doNothing: (id) sender {}
|
||||
|
||||
- (NSToolbarItem *) toolbar: (NSToolbar *) t itemForItemIdentifier: (NSString *) ident willBeInsertedIntoToolbar: (BOOL) flag
|
||||
|
@ -2859,7 +2854,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
|||
if (action == @selector(openShowSheet:) || action == @selector(openURLShowSheet:))
|
||||
return [fWindow attachedSheet] == nil;
|
||||
|
||||
//enable sort and advanced bar items
|
||||
//enable sort options
|
||||
if (action == @selector(setSort:))
|
||||
return [fWindow isVisible];
|
||||
|
||||
|
|
|
@ -121,23 +121,14 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
if (/*[event modifierFlags] & NSAlternateKeyMask*/NO)
|
||||
if ([self pointInMinimalStatusRect: fClickPoint])
|
||||
{
|
||||
[fDefaults setBool: ![fDefaults boolForKey: @"UseAdvancedBar"] forKey: @"UseAdvancedBar"];
|
||||
[fDefaults setBool: ![fDefaults boolForKey: @"DisplaySmallStatusRegular"] forKey: @"DisplaySmallStatusRegular"];
|
||||
fClickPoint = NSZeroPoint;
|
||||
[self reloadData];
|
||||
}
|
||||
else
|
||||
{
|
||||
if ([self pointInMinimalStatusRect: fClickPoint])
|
||||
{
|
||||
[fDefaults setBool: ![fDefaults boolForKey: @"DisplaySmallStatusRegular"] forKey: @"DisplaySmallStatusRegular"];
|
||||
fClickPoint = NSZeroPoint;
|
||||
[self reloadData];
|
||||
}
|
||||
|
||||
[super mouseDown: event];
|
||||
}
|
||||
[super mouseDown: event];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue