show dialog on first launch only

This commit is contained in:
Mitchell Livingston 2009-10-02 21:51:56 +00:00
parent 53c81d46fd
commit f8b7ac4b55
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
[NSValueTransformer setValueTransformer: iconTransformer forName: @"ExpandedPathToIconTransformer"];
//cover our asses
if (YES || [[NSUserDefaults standardUserDefaults] boolForKey: @"WarningLegal"])
if ([[NSUserDefaults standardUserDefaults] boolForKey: @"WarningLegal"])
{
NSAlert * alert = [[NSAlert alloc] init];
[alert addButtonWithTitle: NSLocalizedString(@"I Accept", "Legal alert -> button")];