mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 13:43:22 +00:00
Fixed compilation warnings
Monotone-Parent: 7ac5d165aefe44d7baf56c60ea6bdd8b100d1675 Monotone-Revision: 4448ade7ffcea5cb2a735cfc2c14ca9588596303 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-08-25T17:51:20 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -357,18 +357,18 @@
|
||||
|
||||
- (void) checkDefaultModulePreference
|
||||
{
|
||||
NSUserDefaults *ud;
|
||||
NSUserDefaults *clientUD;
|
||||
NSString *pref;
|
||||
|
||||
if (![self isPopup])
|
||||
{
|
||||
ud = [[context activeUser] userDefaults];
|
||||
pref = [ud stringForKey: @"SOGoUIxDefaultModule"];
|
||||
clientUD = [[context activeUser] userDefaults];
|
||||
pref = [clientUD stringForKey: @"SOGoUIxDefaultModule"];
|
||||
|
||||
if (pref && [pref isEqualToString: @"Last"])
|
||||
{
|
||||
[ud setObject: @"Contacts" forKey: @"SOGoUIxLastModule"];
|
||||
[ud synchronize];
|
||||
[clientUD setObject: @"Contacts" forKey: @"SOGoUIxLastModule"];
|
||||
[clientUD synchronize];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user