aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-27 18:15:10 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-28 16:02:38 -0500
commit7f67f99111a06cca1e45ae00a678f7587803f4bb (patch)
tree73d9b4b32a08097c585d3498dd3353a98ecc7f89
parenttheme: add fallback matching when referenced theme is not found (diff)
downloadefl-7f67f99111a06cca1e45ae00a678f7587803f4bb.tar.gz
elm: fix config upgrades for user profiles
loading the system profile only works if the current profile has the same name as a system profile
-rw-r--r--src/lib/elementary/elm_config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 2f844aa58d..5763011f36 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -1642,6 +1642,12 @@ _config_system_load(void)
_elm_profile);
ef = eet_open(buf, EET_FILE_MODE_READ);
+ if (!ef)
+ {
+ _elm_data_dir_snprintf(buf, sizeof(buf), "config/default/base.cfg");
+
+ ef = eet_open(buf, EET_FILE_MODE_READ);
+ }
if (ef)
{
cfg = eet_data_read(ef, _config_edd, "config");