mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-26 00:22:44 +00:00
(feat) Configurable Web animation level
This commit is contained in:
@@ -400,3 +400,11 @@
|
||||
"monsterid" = "Monster";
|
||||
"wavatar" = "Wavatar";
|
||||
"retro" = "Retro";
|
||||
|
||||
/* Animation Level */
|
||||
"Animation Level" = "Animation Level";
|
||||
/* Normal Animation Mode */
|
||||
"animation_NORMAL" = "Normal";
|
||||
/* Limited Animation Mode */
|
||||
"animation_LIMITED" = "Limited";
|
||||
"animation_NONE" = "None";
|
||||
@@ -1,6 +1,6 @@
|
||||
/* UIxJSONPreferences.m - this file is part of SOGo
|
||||
*
|
||||
* Copyright (C) 2007-2016 Inverse inc.
|
||||
* Copyright (C) 2007-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
|
||||
@@ -126,6 +126,9 @@ static SoProduct *preferencesProduct = nil;
|
||||
[[defaults source] removeObjectForKey: @"SOGoAlternateAvatar"];
|
||||
}
|
||||
|
||||
if (![[defaults source] objectForKey: @"SOGoAnimationMode"])
|
||||
[[defaults source] setObject: [defaults animationMode] forKey: @"SOGoAnimationMode"];
|
||||
|
||||
//
|
||||
// Default Calendar preferences
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user