Added option in warning window to begin download even if not enough disk space. Also new badge for completed.

This commit is contained in:
Mitchell Livingston 2006-09-29 14:46:06 +00:00
parent ce013148b0
commit f1fa4616a4
2 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -452,10 +452,11 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
[alert setMessageText: [NSString stringWithFormat: @"Not enough remaining disk space to download \"%@\" completely.",
[self name]]];
[alert setInformativeText: [NSString stringWithFormat:
@"The transfer has been paused. Clear up space on %@ to continue.", volume]];
[alert runModal];
@"The transfer will be paused. Clear up space on %@ to continue.", volume]];
[alert addButtonWithTitle: @"OK"];
[alert addButtonWithTitle: @"Download Anyway"];
return NO;
return [alert runModal] != NSAlertFirstButtonReturn;
}
return YES;
}