From e634510ae108fa378f3cf0b3b3e6d61d5e57ca9c Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 9 Dec 2010 23:34:44 +0000 Subject: [PATCH] remove some glue code --- macosx/Controller.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 46ae19c75..f9ba30012 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -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