some more streamlining of the blocklist code

This commit is contained in:
Mitchell Livingston
2008-08-31 20:48:10 +00:00
parent f28d15372d
commit 25c30650d6
7 changed files with 26 additions and 38 deletions

View File

@@ -59,7 +59,7 @@
- (void) cancelDownload: (id) sender
{
[fDownloader cancelDownload];
[[BlocklistDownloader downloader] cancelDownload];
}
- (void) setStatusStarting
@@ -142,8 +142,8 @@
[NSBundle loadNibNamed: @"BlocklistStatusWindow" owner: self];
[NSApp beginSheet: fStatusWindow modalForWindow: [fPrefsController window] modalDelegate: nil didEndSelector: nil contextInfo: nil];
fDownloader = [BlocklistDownloader downloader: [fPrefsController handle]];
[fDownloader setViewController: self];
BlocklistDownloader * downloader = [BlocklistDownloader downloader];
[downloader setViewController: self];
}
- (void) failureSheetClosed: (NSAlert *) alert returnCode: (int) code contextInfo: (void *) info