Changeset 3702
- Timestamp:
- Nov 4, 2007, 4:45:17 PM (15 years ago)
- Location:
- trunk/macosx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.h
r3698 r3702 215 215 - (void) showFilterBar: (BOOL) show animate: (BOOL) animate; 216 216 217 //- (void) toggleAdvancedBar: (id) sender;218 219 217 - (void) doNothing: (id) sender; //needed for menu items that use bindings with no associated action 220 218 -
trunk/macosx/Controller.m
r3698 r3702 2499 2499 { 2500 2500 [fDefaults setBool: ![fDefaults boolForKey: @"PiecesBar"] forKey: @"PiecesBar"]; 2501 [fTableView reloadData];2501 [fTableView display]; 2502 2502 } 2503 2503 … … 2659 2659 } 2660 2660 } 2661 2662 /*- (void) toggleAdvancedBar: (id) sender2663 {2664 [fTableView display];2665 }*/2666 2661 2667 2662 - (void) doNothing: (id) sender {} … … 2860 2855 return [fWindow attachedSheet] == nil; 2861 2856 2862 //enable sort and advanced bar items2857 //enable sort options 2863 2858 if (action == @selector(setSort:)) 2864 2859 return [fWindow isVisible]; -
trunk/macosx/TorrentTableView.m
r3671 r3702 122 122 else 123 123 { 124 if ( /*[event modifierFlags] & NSAlternateKeyMask*/NO)124 if ([self pointInMinimalStatusRect: fClickPoint]) 125 125 { 126 [fDefaults setBool: ![fDefaults boolForKey: @" UseAdvancedBar"] forKey: @"UseAdvancedBar"];126 [fDefaults setBool: ![fDefaults boolForKey: @"DisplaySmallStatusRegular"] forKey: @"DisplaySmallStatusRegular"]; 127 127 fClickPoint = NSZeroPoint; 128 128 [self reloadData]; 129 129 } 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]; 141 132 } 142 133 }
Note: See TracChangeset
for help on using the changeset viewer.