1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-23 06:30:38 +00:00

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

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")];