}
//set built-in Growl
- [GrowlApplicationBridge setShouldUseBuiltInNotifications: [fDefaults boolForKey: @"DisplayNotifications"]];
+ [GrowlApplicationBridge setShouldUseBuiltInNotifications: ![NSApp isOnMountainLionOrBetter] && [fDefaults boolForKey: @"DisplayNotifications"]];
[self setAutoUpdateToBeta: nil];
}
{
[fBuiltInGrowlButton setHidden: NO];
[fGrowlAppButton setHidden: YES];
- [fBuiltInGrowlButton setState: [fDefaults boolForKey: @"DisplayNotifications"]];
+
+ const BOOL onMtLion = [NSApp isOnMountainLionOrBetter];
+ [fBuiltInGrowlButton setState: !onMtLion && [fDefaults boolForKey: @"DisplayNotifications"]];
+ [fBuiltInGrowlButton setEnabled: !onMtLion];
}
}