mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-06 23:51:23 +00:00
(feat) Configurable Web animation level
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* SOGoUserDefaults.m - this file is part of SOGo
|
||||
*
|
||||
* Copyright (C) 2009-2016 Inverse inc.
|
||||
* Copyright (C) 2009-2017 Inverse inc.
|
||||
*
|
||||
* This file is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -494,7 +494,7 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
return [self stringArrayForKey: @"SOGoMailListViewColumnsOrder"];
|
||||
}
|
||||
|
||||
- (void) setSelectedAddressBook:(NSString *) newValue
|
||||
- (void) setSelectedAddressBook: (NSString *) newValue
|
||||
{
|
||||
[self setObject: newValue forKey: @"SOGoSelectedAddressBook"];
|
||||
}
|
||||
@@ -529,6 +529,19 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
return [self stringForKey: @"SOGoAlternateAvatar"];
|
||||
}
|
||||
|
||||
- (void) setAnimationMode: (NSString *) newValue
|
||||
{
|
||||
if ([newValue isEqualToString: @"normal"] ||
|
||||
[newValue isEqualToString: @"limited"] ||
|
||||
[newValue isEqualToString: @"none"])
|
||||
[self setObject: newValue forKey: @"SOGoAnimationMode"];
|
||||
}
|
||||
|
||||
- (NSString *) animationMode
|
||||
{
|
||||
return [self stringForKey: @"SOGoAnimationMode"];
|
||||
}
|
||||
|
||||
- (void) setMailComposeMessageType: (NSString *) newValue
|
||||
{
|
||||
[self setObject: newValue forKey: @"SOGoMailComposeMessageType"];
|
||||
|
||||
Reference in New Issue
Block a user