mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
remove unused code
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user