From d9e3d6b0b1db43afa6e249a19a3f7efd6b09a146 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 22 Nov 2006 16:42:26 +0000 Subject: [PATCH] a little Controller cleaning --- macosx/Controller.m | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index cae8cfdb6..01940d09f 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -58,8 +58,6 @@ #define ROW_HEIGHT_SMALL 40.0 #define WINDOW_REGULAR_WIDTH 468.0 -#define MAX_URL_WINDOW_WIDTH 5000 - #define UPDATE_UI_SECONDS 1.0 #define AUTO_SPEED_LIMIT_SECONDS 5.0 @@ -221,8 +219,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy [[fTableView tableColumnWithIdentifier: @"Torrent"] setDataCell: [[TorrentCell alloc] init]]; [fTableView registerForDraggedTypes: [NSArray arrayWithObjects: NSFilenamesPboardType, - NSURLPboardType, - TORRENT_TABLE_VIEW_DATA_TYPE, nil]]; + NSURLPboardType, TORRENT_TABLE_VIEW_DATA_TYPE, nil]]; //register for sleep notifications IONotificationPortRef notify; @@ -539,7 +536,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy [[NSFileManager defaultManager] removeFileAtPath: path handler: nil]; } -- (void) application: (NSApplication *) sender openFiles: (NSArray *) filenames +- (void) application: (NSApplication *) app openFiles: (NSArray *) filenames { [self openFiles: filenames ignoreDownloadFolder: NO forceDeleteTorrent: NO]; }