mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
remove some glue code
This commit is contained in:
@@ -410,12 +410,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||
if ([fDefaults boolForKey: @"SmallView"])
|
||||
[fTableView setRowHeight: ROW_HEIGHT_SMALL];
|
||||
|
||||
#warning remove once localizations are updated for 2.2
|
||||
[fActionButton setBordered: NO];
|
||||
[fActionButton setFrame: NSMakeRect(6.0, 2.0, 36.0, 18.0)];
|
||||
[fSpeedLimitButton setBordered: NO];
|
||||
[fSpeedLimitButton setFrame: NSMakeRect(45.0, 2.0, 36.0, 18.0)];
|
||||
|
||||
//window min height
|
||||
NSSize contentMinSize = [fWindow contentMinSize];
|
||||
contentMinSize.height = [[fWindow contentView] frame].size.height - [[fTableView enclosingScrollView] frame].size.height
|
||||
|
||||
Reference in New Issue
Block a user