trunk: Leopard: Fix bug with toggling Minimal View

This commit is contained in:
Mitchell Livingston 2007-10-29 18:59:23 +00:00
parent 297b9f0b1d
commit 64f7382d1b
2 changed files with 8 additions and 2 deletions

3
NEWS
View File

@ -2,7 +2,8 @@ NEWS file for Transmission <http://transmission.m0k.org/>
0.92 (2007/xx/yy)
- OS X:
+ Leopard: Fix bug with typing values in Inspector->Options
+ Leopard: Fix bug with typing values in Inspector->Options
+ Leopard: Fix bug with toggling Minimal View
0.91 (2007/10/28)
- libtransmission (all platforms):

View File

@ -30,6 +30,7 @@
#import "TorrentTableView.h"
#import "CreatorWindowController.h"
#import "AboutWindowController.h"
#import "NSApplicationAdditions.h"
#import "NSStringAdditions.h"
#import "UKKQueue.h"
#import "ActionMenuSpeedToDisplayLimitTransformer.h"
@ -2011,6 +2012,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
? [NSImage imageNamed: @"SpeedLimitButtonGraphite.png"] : [NSImage imageNamed: @"SpeedLimitButtonBlue.png"]];
}
#warning look into
- (void) applySpeedLimit: (id) sender
{
[fPrefsController applySpeedSettings: nil];
@ -2085,6 +2087,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
}
}
#warning look into
- (void) setLimitGlobalEnabled: (id) sender
{
[fPrefsController applySpeedSettings: nil];
@ -2458,7 +2461,9 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
- (void) toggleSmallView: (id) sender
{
BOOL makeSmall = [fDefaults boolForKey: @"SmallView"];
BOOL makeSmall = ![fDefaults boolForKey: @"SmallView"];
if (![NSApp isOnLeopardOrBetter])
makeSmall != makeSmall;
[fTableView setRowHeight: makeSmall ? ROW_HEIGHT_SMALL : ROW_HEIGHT_REGULAR];