mirror of
https://github.com/transmission/transmission
synced 2025-03-15 16:29:34 +00:00
Added option in warning window to begin download even if not enough disk space. Also new badge for completed.
This commit is contained in:
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 |
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue