From 1c6cec7731e67772b21ac2742ac69d8db98a9520 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 6 May 2007 22:14:06 +0000 Subject: [PATCH] actually use the new timer when checking for auto-import --- macosx/Controller.h | 1 + macosx/Controller.m | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/macosx/Controller.h b/macosx/Controller.h index 8bc562212..287582b0a 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -181,6 +181,7 @@ - (void) torrentStoppedForRatio: (NSNotification *) notification; - (void) changeAutoImport; +- (void) newCheckAutoImportDirectory; - (void) checkAutoImportDirectory: (NSTimer *) timer; - (void) sleepCallBack: (natural_t) messageType argument: (void *) messageArgument; diff --git a/macosx/Controller.m b/macosx/Controller.m index 5a5284ab1..733ff241b 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -1833,7 +1833,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy -(void) watcher: (id) watcher receivedNotification: (NSString *) notification forPath: (NSString *) path { if ([notification isEqualToString: UKFileWatcherWriteNotification]) - [self checkAutoImportDirectory: nil]; + [self newCheckAutoImportDirectory]; } - (void) changeAutoImport