1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 06:00:41 +00:00

remove some glue code

This commit is contained in:
Mitchell Livingston 2010-12-09 23:34:44 +00:00
parent 0371e8bc80
commit e634510ae1

View file

@ -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