mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-28 14:45:28 +00:00
See ChangeLog
Monotone-Parent: 2383d3cfedbdc621439fd847ceb4bddeed43c93e Monotone-Revision: 5d72cbe984ee92d95ab972816ac529dab70a9143 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-03-24T20:36:49 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -416,10 +416,18 @@ static NSLock *lock;
|
||||
//
|
||||
- (void) _userDefaultsHaveChanged: (NSNotification *) theNotification
|
||||
{
|
||||
SOGoUser *user;
|
||||
SOGoUserDefaults *defaults;
|
||||
NSString *uid;
|
||||
|
||||
uid = [[theNotification userInfo] objectForKey: @"uid"];
|
||||
|
||||
// When the user defaults changed, we must invalidate the
|
||||
// ivar language for the user object.
|
||||
user = [self userNamed: uid];
|
||||
if (user)
|
||||
[user invalidateLanguage];
|
||||
|
||||
//NSLog(@"Updating user defaults for UID: %@", uid);
|
||||
defaults = (SOGoUserDefaults *)[self userDefaultsForLogin: uid];
|
||||
if (defaults)
|
||||
|
||||
Reference in New Issue
Block a user