a little Controller cleaning

This commit is contained in:
Mitchell Livingston 2006-11-22 16:42:26 +00:00
parent d65612a157
commit d9e3d6b0b1
1 changed files with 2 additions and 5 deletions

View File

@ -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];
}