]> granicus.if.org Git - transmission/commitdiff
remove unnecessary 10.8 checks
authorMitchell Livingston <livings124@transmissionbt.com>
Sun, 19 Aug 2012 19:08:18 +0000 (19:08 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Sun, 19 Aug 2012 19:08:18 +0000 (19:08 +0000)
macosx/PrefsController.m

index 60e26c2312f796abeba84447d12d6966b6dca93b..c406d161199907fa9bb8945ecb0a3addff6b6bc9 100644 (file)
         [fGrowlAppButton setHidden: YES];
         
         const BOOL onMtLion = [NSApp isOnMountainLionOrBetter];
-        [fBuiltInGrowlButton setState: !onMtLion && [fDefaults boolForKey: @"DisplayNotifications"]];
-        [fBuiltInGrowlButton setEnabled: !onMtLion];
-        
+        [fBuiltInGrowlButton setState: [fDefaults boolForKey: @"DisplayNotifications"]];
     }
 }