Adium

Changeset 24140

Show
Ignore:
Timestamp:
07/01/2008 10:06:42 AM (6 months ago)
Author:
evands
Message:

Avoid multply notifying as an event preset is changed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/ESGlobalEventsPreferencesPlugin.m

    r19361 r24140  
    213213- (void)setEventPreset:(NSDictionary *)eventPreset 
    214214{ 
     215        [[adium preferenceController] delayPreferenceChangedNotifications:YES]; 
     216 
    215217        [[adium contactAlertsController] setAllGlobalAlerts:[eventPreset objectForKey:@"Events"]]; 
    216218         
     
    222224                [self applySoundSet:(soundSet ? [AISoundSet soundSetWithContentsOfFile:[soundSet stringByExpandingBundlePath]] : nil)]; 
    223225        } 
     226         
     227        [[adium preferenceController] delayPreferenceChangedNotifications:NO]; 
    224228 
    225229        //Set the name of the now-active event set, which includes sounds and all other events