don't allow user to quit out of Mac OS X updater by any means until the patching job is finished

This commit is contained in:
joshmoz%gmail.com 2005-06-20 19:10:19 +00:00
Родитель 5efe2ce621
Коммит b479b6ac7f
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -60,7 +60,8 @@ static const char *sProgramPath;
@implementation UpdaterUI
-(void)awakeFromNib {
-(void)awakeFromNib
{
[[progressBar window] center];
[progressBar setIndeterminate:NO];
[progressBar setDoubleValue:0.0];
@ -84,6 +85,11 @@ static const char *sProgramPath;
[progressBar setDoubleValue:(double)progress];
}
- (BOOL)applicationShouldTerminate:(NSApplication *)sender
{
return sQuit;
}
@end
int