Changeset 13225
- Timestamp:
- Feb 14, 2012, 3:37:39 AM (11 years ago)
- Location:
- trunk/macosx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Defaults.plist
r12179 r13225 43 43 <key>DisplayGroupRowRatio</key> 44 44 <false/> 45 <key>DisplayNotifications</key> 46 <true/> 45 47 <key>DisplayPeerProgressBarNumber</key> 46 48 <false/> -
trunk/macosx/PrefsController.m
r13162 r13225 139 139 } 140 140 141 //set built-in Growl 142 [GrowlApplicationBridge setShouldUseBuiltInNotifications: [fDefaults boolForKey: @"DisplayNotifications"]]; 143 141 144 [self setAutoUpdateToBeta: nil]; 142 145 } … … 178 181 [self setPrefView: nil]; 179 182 180 [fBuiltInGrowlButton setState: [ GrowlApplicationBridge shouldUseBuiltInNotifications]];183 [fBuiltInGrowlButton setState: [fDefaults boolForKey: @"DisplayNotifications"]]; 181 184 const BOOL growlRunning = [GrowlApplicationBridge isGrowlRunning]; 182 185 [fBuiltInGrowlButton setHidden: growlRunning]; … … 733 736 - (IBAction) setBuiltInGrowlEnabled: (id) sender 734 737 { 735 [GrowlApplicationBridge setShouldUseBuiltInNotifications: [sender state] == NSOnState]; 738 const BOOL enable = [sender state] == NSOnState; 739 [fDefaults setBool: enable forKey: @"DisplayNotifications"]; 740 [GrowlApplicationBridge setShouldUseBuiltInNotifications: enable]; 736 741 } 737 742
Note: See TracChangeset
for help on using the changeset viewer.