mirror of
https://github.com/transmission/transmission
synced 2025-03-06 19:48:15 +00:00
trunk: Leopard: Fix bug with toggling Minimal View
This commit is contained in:
parent
297b9f0b1d
commit
64f7382d1b
2 changed files with 8 additions and 2 deletions
3
NEWS
3
NEWS
|
@ -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):
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue